I have a question concerning how a security deposit can be used. I signed a month-to-month lease which states that if I move out before a year that I forfeit the entire deposit (which amounted to 950) and I would have to pay for any cleaning or repairs . My wife and I had full intention of staying the full year but several things came up. Namely she became pregnant and I asked the landlord to put a hand rail in for a staircase that had 15 steps. He kept ignoring my calls and emails and after a month we decided to purchase a home. I gave him a month notice and even helped get someone moved in. In fact they moved in the day after we moved out. We paid all of our rent so he wasn't out any money due to us leaving. He is now claiming damages and wanting us to pay more without using any of the deposit money for those issues.
Our State law states the following:
The landlord may withhold from the security deposit only such amounts as are reasonably necessary for the following reasons:
(1) To remedy a tenant's default in the payment of rent due to the landlord, pursuant to the rental agreement;
(2) To restore the dwelling unit to its condition at the commencement of the tenancy, ordinary wear and tear excepted; or
(3) To compensate the landlord for actual damages sustained as a result of the tenant's failure to give adequate notice to terminate the tenancy pursuant to law or the rental agreement; provided that the landlord makes reasonable efforts to mitigate damages.
In Summation, the entire deposit is being used as a fine and the landlord broke housing code and created an unsafe environment for my family. I don't feel I should be penalized for these reasons.

