Detailed Instructions: In this task, you are given a summary for US Congressional and California state bill, your task is to generate a Title for this bill. The preferred titles are under forty words and mention the purpose of the bill.
Problem:Protecting Tenants at Foreclosure Act of 2009 - States that any immediate successor in interest to residential property in foreclosure assumes such interest subject to: (1) giving an existing tenant at least 90-day notice to vacate; and (2) specified rights of such tenant to occupy the premises until the end of the lease.

Amends the United States Housing Act of 1937 to require a housing assistance payment contract to provide that in the case of an owner who is an immediate successor in interest pursuant to foreclosure: (1) during the initial term of the lease vacating the property prior to sale shall not constitute other good cause for termination of the lease; but (2) in subsequent lease terms vacating the property prior to sale may constitute good cause if the property is unmarketable while occupied, or if such owner will occupy the unit as a primary residence.

Authorizes: (1) a housing assistance payment contract entered into by the public housing agency and the owner of a dwelling unit to provide that the immediate successor in interest to property in foreclosure in which a housing assistance recipient resides assumes such interest subject to the lease between the prior owner and the tenant, and subject to the housing assistance payments contract between the prior owner and the public housing agency for the occupied unit; and (2) the public housing agency, where the successor owner cannot be identified, to use rental funds to pay for the property's utilities if owed by the owner or for reasonable moving costs, including security deposits.
Solution:
To protect the interests of bona fide tenants in the case of any foreclosure on any dwelling or residential real property, and for other purposes.