Again though, its possible that the appropriate county agency would end up condemning the house if the landlord cannot or will not do what he needs to do. The OP has already sunk a decent amount of money into the property for paint and carpeting (which I would not have done) and will just lose out on that entirely if the house gets condemned.

