Skip to main content
CountryReports

Expanded History

History of Gibraltar

From antiquity to the modern era — the historical eras, key events, and narrative that shaped Gibraltar.

Speed

Overview

The Rock of Gibraltar has always been a fortress and historians have tended to focus on its military role. By comparison, the history of the civilian population, particularly in its most recent aspects, has not been nearly so well documented.

Historical Eras

The major periods of {country}’s history at a glance.

  1. Moorish Gibraltar

    711 – 1462

    Muslim commander Tariq ibn Ziyad seized the Rock in 711, making it a strategic foothold for the Moorish conquest of Iberia. The first city on Gibraltar, Medinat al-Fath, was founded in 1160 under Almohad rule. Control passed between Marinid and Nasrid dynasties, with the Rock serving as a contested military and religious stronghold until its reconquest by Castile in 1462.

  2. Castilian Rule

    1462 – 1704

    Following its reconquest, Gibraltar was absorbed into the Spanish Crown when Queen Isabella I formally annexed it in 1501, granting the town its distinctive coat of arms. The period saw the expulsion of Jews in 1492 and Moriscos in 1606, many of whom passed through the Rock. A devastating pirate raid in 1540 exposed chronic vulnerabilities in the territory's defenses.

  3. British Conquest & Early Colony

    1704 – 1830

    An Anglo-Dutch force captured Gibraltar in 1704 during the War of the Spanish Succession, and Spain formally ceded it to Britain in perpetuity under the 1713 Treaty of Utrecht. The original Spanish population largely departed, replaced by a diverse influx of Genoese, Jewish, Portuguese, and British settlers who formed the nucleus of a distinct Gibraltarian identity. Spain mounted several sieges, most notably the Great Siege of 1779–1783, all of which failed to dislodge the British garrison.

  4. Crown Colony Era

    1830 – 1945

    Gibraltar was formally declared a British Crown Colony in 1830, initiating a period of gradual constitutional and civic development alongside its enduring military role. The Exchange Committee, founded in 1817, evolved into a vehicle for merchant-class political aspirations, eventually leading to the creation of an Executive Council in 1922. During World War II the civilian population was evacuated to Britain, Malta, and Jamaica, underscoring Gibraltar's overwhelming strategic importance to Allied operations in the Mediterranean.

  5. Self-Determination & Autonomy

    1945 – 1988

    The post-war return of evacuees galvanized Gibraltarian political consciousness, culminating in a new constitution in 1964 and the establishment of the Gibraltar Legislative Council. In the 1967 referendum, Gibraltarians voted by an overwhelming majority to remain under British sovereignty, directly rejecting Spanish claims. Spain's closure of the land border in 1969 lasted over a decade, reinforcing a distinct Gibraltarian national identity forged in opposition to external pressure.

  6. Modern Gibraltar

    1988 – present

    The full reopening of the Spanish border in 1988 ushered in a new era of economic diversification, with Gibraltar developing robust financial services, online gaming, and tourism sectors alongside its traditional port trade. A 2002 referendum saw Gibraltarians again reject any form of shared sovereignty with Spain by more than 98 percent. Gibraltar's future relationship with the European Union became a pressing concern following the United Kingdom's 2016 Brexit vote, initiating ongoing negotiations over border arrangements and access rights.

Timeline Preview

The first 7 key events. View the full chronology on the timeline page.

  1. 0

    The African Plate collided tightly with Europe some 55 million years ago.

    The African Plate collided tightly with Europe some 55 million years ago. The Mediterranean became a lake which, in the course of time, dried up until 5 million years ago when the Atlantic broke through the Strait of Gibraltar and flooded it again, isolating the Rock of Jurassic limestone.

  2. 711

    Gibraltar captured by Muslim commander Tariq Ibn-Ziyad.

    Gibraltar captured by Muslim commander Tariq Ibn-Ziyad.

  3. 940

    The Rock becomes a place of worship.

    The Phoenicians follow other navigators from the eastern Mediterranean in visiting the Strait and found the city Carteia at the head of the Bay of Gibraltar. The Rock becomes a place of worship where sailors sacrifice to the gods before entering the Atlantic.

  4. 1160

    Foundations were laid for the first city in Gibraltar - the Medinat al-Fath, the City of Victory.

    By the 11th Century AD Gibraltar is part of the Arab kingdom of Seville except for a short period when it comes under Berber rule from Malaga. The mounting threat of invasion by North Africa sects forces the Arab Governor of Algeciras to order in 1068 the building of a fort in Gibraltar. Spain is eventually overrun by another North African sect, the Almohads, and it was their leader, Abd-ad-Mummin, who commanded the building of the first city in Gibraltar - the Medinat al-Fath, the City of Victory. It was by all accounts, an impressive city and its foundations were laid on the 19th May 1160 AD. On completion of the works Al - Mummin personally crossed the Strait to inspect the works and stayed in Gibraltar for two months, inviting all his subordinate kings to see his works. It is said that Al - Mummin was especially impressed by a large windmill which had been built on top of the hill (Windmill Hill).

  5. 1333

    Ferdinand to offer freedom from justice to anyone who lived in Gibraltar for one year and one day.

    The Spaniards set to repair the fortifications and shipyard but few people wanted to settle in Gibraltar, which was considered to be a high risk town. This forced Ferdinand to offer freedom from justice to anyone who lived in Gibraltar for one year and one day. By 1333 Gibraltar was once more in Muslim hands as Abdul Malik, son of the King of Morocco, laid siege. The garrison surrendered after four and a half months of siege.

  6. 1374

    Gibraltar becomes part of the Muslim Kingdom of Granada.

    Gibraltar becomes part of the Muslim Kingdom of Granada.

  7. 1462

    Gibraltar is recaptured by Castille.

    Gibraltar is recaptured by Castille and became part of the estates of the Duke of Medina Sidonia.