After the fall of the Kingdom of Jerusalem in 1291 (the city of Jerusalem had fallen in 1187), the Knights were confined to the County of Tripoli and, when Acre was captured in 1291, the order sought refuge in the Kingdom of Cyprus. Finding themselves becoming enmeshed in Cypriot politics, their Master, Guillaume de Villaret, created a plan of acquiring their own temporal domain, selecting Rhodes to be their new home, part of the Byzantine empire. His successor, Foulques de Villaret, executed the plan, and on 15 August 1310, after more than four years of campaigning, the city of Rhodes surrendered to the knights. They also gained control of a number of neighboring islands and the Anatolian port of Halicarnassus and the island of Kastellorizo.