France signed its first treaty of "Capitulations" with the Mamluk Sultanate in Cairo in 1500, during the rule of Louis XII. After the Turks conquered Egypt in the Ottoman–Mamluk War (1516–1517), the Ottomans upheld the capitulations to the French and applied them to the entire empire.