In the late 18th century, under the command of the Marquis of Nisa, the Portuguese Navy took part in the Mediterranean Campaign of 1798 against the French Republic in Egypt and in the Siege of Malta.