Used as a church for 916 years, it served for 481 years as a mosque after Istanbul was
conquered and very needed restoration work was done. Ataturk, founder of the Turkish Republic,
had further restoration work done after 1934 and opened it as a museum the following year.