 Okçuzade Mehmed Paşa, a governor of Cyprus in the 16th century, donated a shop to provide income for the Sultan Selim Foundation; other donations include estates in the countryside and other shops.The foundation employed trustees ("mütevelli") to look after the funds and transferred 40,000 "akçe" annually to Medina in late 16th century.During the Ottoman period, it was the largest mosque in the whole island, and was used weekly by the Ottoman governor, administrators and elite for the Friday prayers.