 In the winter of 1543–1544 the cathedral, the largest building in the city, was temporarily transformed into a mosque for the 30,000 crew members of the ships of the Ottoman-Barbary admiral Hayreddin Barbarossa, at that time an ally of Francis I of France.The residents of Toulon were temporarily expelled from the city to make room for the Turkish sailors.At the end of the winter, King Francis paid a large bribe to the Turkish admiral to persuade him and his fleet to leave.