Let us know if we can be of further assistance.
Banks are not known to continue to rent the property, but once the property is bank owned, the bank has to give you 60-day notice. Banks don't want to be landlords. They want to get these properties off their books and marketing a property that's tenant occupied is more difficult.
As far as getting your deposit back from the landlord is concerned. I would not get my hopes up. You may have to go to small claims court to get a judment and then you'll have to see how you can collect on it. I know that's not good news, but it's the most likely scenario.
If you want to know a little bit more about the status of the foreclosure, you can e-mail me the property address (please don't post it here) and I'll look it up for you.
Good luck to you.
Actually, the lender might PREFER to have you stay and continue to occupy the property if you are paying rent.
Below is the link to your city's Housing Dept. I would call them and find out what they know. The city's Landlord Tenant Rules may dictate how this is handled. The city can probably find out who the lender is and may be willing to help you contact them.