The city was first founded by the British in 1827 . They paid Spain for use of the island during colonial times . The city was first founded by the British in 1827 , who leased the island from Spain during the colonial period .