It depends on the country in question, but generally speaking the state, government, city, county etc. will inherit it.
They’ll either do something with it like use the property for a project, invest it somehow (e.g. they’ll rent it out) or they’ll just sell it in an auction.
Latest Answers