 In the 16th @-@ century the mosque was restored after apparent damage in the previous century ; the Ottomans commissioned its restoration and also built six other mosques in the city . They had been in control of Palestine since 1517 . The interior bears an inscription of the name of the Ottoman governor of Gaza , Musa Pasha , brother of deposed Husayn Pasha , dating from 1663 . 
