By the end of the 19th century, the building was showing clear signs of decay. The Italian government spent a lot of money to repair the building. All public offices were moved elsewhere, except the State Office for the protection of historical Monuments, which is still housed at the palace's loggia floor. In 1923, the municipality of Venice set up the palace as a museum. In 1996, the Doge’s Palace has been part of the Venetian museums network, which is run by the Fondazione Musei Civici di Venezia since 2008.