were reorganized and merged as the Royal Brigade of the Navy (). This Brigade was commanded by a flag officer and included divisions of naval artillery, naval infantry and naval artificers, with a total of more than 5000 men. Following the execution of Louis XVI of France by the French revolutionaries, Portugal enters the anti-revolutionary Coalition. In 1793, the Portuguese Navy was tasked with transporting by sea and escorting the Portuguese Expeditionary Army sent to help Spain in the War of the Pyrenees against France. This was done by the Transport Squadron organized with four ships of the line, one frigate, four transport ships and 10 merchant ships. To aid United Kingdom to defend itself from a possible French invasion, the Portuguese Navy organized and sent the Channel Squadron, with five ships of the line, two frigates, two brigantines and a hospital-ship. From July 1794 to March 1796, under the command of António Januário do Valle, the Portuguese Channel Squadron patrolled the English Channel in cooperation with the Royal Navy. The Portuguese Navy ended the 18th century with a fleet that included 13 ships of the line, 16 frigates, three corvettes, 17 brigs and eight support ships. In addition, the Portuguese naval forces also included the Navy of India, based in the Indian Ocean, with a ship of the line and six frigates. Napoleonic Wars and the early 19th century 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. In November 1807, General Jean-Andoche Junot invaded Portugal in an attempt to expand Napoleon's continental empire. With insufficient forces to deter the invasion, in order not to be captured and keep the independence of the Kingdom, the Prince Regent John of Portugal activates an ancient strategic plan that the foresee the transference of the head of the Portuguese Crown to Brazil. The Prince Regent called upon his Navy to execute this mission and, on 29 November 1807, the Royal Family, the Government and 15,000 state and military officials and their families leave Lisbon and sail to Brazil, carried by a Portuguese fleet that included eight ships of the line, five frigates and five other smaller ships. The 84 gun ship Príncipe Real served as flagship, carrying on board the Prince Regent and his family.