During the Napoleonic Wars, Gibraltar became a key base for the Royal Navy and played an important role leading up to the Battle of Trafalgar (21 October 1805). Designated one of four Imperial fortresses (along with Halifax, Nova Scotia, Bermuda, and Malta), its strategic location made it a key base during the Crimean War of 1854–1856. In the 18th century, the peacetime military garrison fluctuated in numbers from a minimum of 1,100 to a maximum of 5,000. The first half of the 19th century saw a significant increase of population to more than 17,000 in 1860, as people from Britain and all around the Mediterranean – Italian, Portuguese, Maltese, Jewish and French – took up residence in the town.