<prompt> Translate the following text to EnglishHagia Sophia ilitumika kama msikiti hadi mwaka 1935, wakati Ataturk alipotangaza kwamba inapaswa kuwa jumba la makumbusho.  <response>: Haghia Sophia served as a mosque until 1935, when Ataturk proclaimed that it should become a museum. 