In 1882 Cascais installed one of the first tide gauges in Europe in order to assist with navigation into the port of Lisbon. In 1896, King Carlos I, a lover of all maritime activities, installed in the citadel the first oceanographic laboratory in Portugal. The King himself led a total of 12 scientific expeditions to the coast; these ended in 1908 with his assassination in Lisbon.