In the course of the 18th century, a fortress was developed at Montjuïc overlooking the harbour. On 16 March 1794, even though France and Spain were being at war, the French astronomer Pierre François André Méchain was offered go away to enter the fortress for making observations that were to be used to evaluate the gap from Dunkirk to Barcelon