Great Siege of Gibraltar
After the Great Siege of Gibraltar, (1779–1783) Gibraltar transformed from a small military town into a major centre for European and Mediterranean trade. There was a spike in the percentage of the civilian population of foreign origin, and immigration had a large role in defining nationality.