Landlord received half the lease amount refused to give the flat nor the money back

Hi , i live in bangalore in a rented house , wanted to move to a new house . i found a flat for lease for 2 years . so when i met the landlord he said its ready for the possession . As you transfer the money to me i will transfer it to the current lessee . when i checked with the lessee who is staying presently in the flat was also ready to move out as soon as they receive the money from the landlord . the landlord said to me, do half payment to him first and the second half when he handovers the keys to me , so we did a E stamp and a notary for the agreement with planned schedule for the payments . As per the agreement i transferred the first half amount to the landlord on the month of march 2021 after a week he delayed by a month saying that the present lessee needs another month to vacate . so i said okay , and then he came back with other reason another 2 weeks . At this point i said i don't believe in your promise any more please return the money back . so the landlord said to me that 200 % i am sure i can give the flat for possession give me another 2 weeks or you can deposit the cheques that i am giving you after two weeks . Again he could not keep up the promise , so i deposited the cheque but it got bounced . i was not in town and got stuck in the native due to the covid lock down . i could not follow up , now its been 7 months . now i would like to know lawyers advice on this and then i can proceed further . thank you waiting for your response