Andalusian Spanish is the main constituent of Llanito, but is also heavily influenced by British English. However, it borrows words and expressions of many other languages, with over 500 words of Genoese and Hebrew origin. It also typically involves code-switching to English.
Over the course of its history, the Rock of Gibraltar has changed hands many times, among Spanish, Moorish, and British hands, although it has been consistently under British control since the Treaty of Utrecht in 1713. Before the British takeover, Spanish was widely spoken, but afterwards as most residents left the Rock, the language had a much smaller population (in 1753 there were just 185 Spaniards, and only 134 in 1777[1]). However, the border with Spain has been opened since 1985, allowing easier travel in and out of Spain, one of the factors which has given Andalusian Spanish considerable presence in Gibraltar. In 2001, there were 326 people of Spanish nationality in Gibraltar, and a large number of "Frontier Workers" who commute there for work.