<prompt> Human: I have a friend. He bought an old historic house, lived there a couple of years, didnt like location. Bought a second house in nearby neighborhood and rents out first house. A couple of months ago, with tenants in first house, he listed first house for sale. Not sold yet, and now the sewer line from house to street is bad and he must replace. City began work and stopped because the work they did is shifting the foundation of this very old historic house. Now engineer needs to come out to evaluate and recommend solution. Also, City found unpermitted electrical work in basement and is requiring that be inspected and brought up to code. Friend does not have to pay for all of this. I did some Googling and it looks like homeowners insurance will not pay for the work. Basically has 0 equity in either house, should he sell. Any ideas for friend?  <response>: He has to find the money. Or take a loss and sell it as is to another prospective buyer.The electrical work can be removed and that would essentially eliminate that. Or he could appeal and convince them that the house came like that. That would retrofit the work and would buy him time. 