The covered bazaar, which was built in order to fund the numerous charities founded by Hüseyin Ağa in and around Amasya, had been seriously damaged in the earthquake in 1688.
Neglected for rather long, it was eventually included in the public improvement works initiated in 1865 by Ziya Bey (Ziya Paşa the Poet), the tenant of Amasya. Unfortunately this work has been anything but an improvement since the domes were pulled down and the lead coating of the domes had been removed.
The roof intended to replace the domes did not last long and the building was forsaken once again. Only the bearing walls of the bazaar, which was by then just a ruin, survived until 1950s and the part overlooking Yeşilırmak was then entirely pulled down to create space for the office block to be built.
It was only possible to see the remaining parts of the bazaar as they are today thanks to the restoration works started by the General Directorate of Charitable Foundations in 1971.
After this extensive restoration work, the ancient walls which were neglected for over 500 years but still managed to remain in tact came back to life and the bazaar became a domed structure once again notwithstanding the reduction in the number of the domes.