 The synagogue was also used as military headquarters during the Napoleonic Wars.In 1877 the building became a national monument.The transformation of the building into the Sephardi Museum, as it is now officially called, started around 1910.