Gravina was born in
Palermo,
capital city of the
Kingdom of Sicily. His father was Don Giovanni Gravina Cruyllas Moncada, Prince of
Montevago,
Duke of San Miguel and
Grandee of Spain, and his mother was Donna Eleonora Napoli Montaperto, daughter of the Prince of
Resuttano, also a Grandee of Spain. He was the third of five brothers: the eldest son, Girolamo, inherited the titles; two others became prelates,
Pietro,
cardinal archbishop of Palermo, and Gabriele (born Berengario),
bishop of Catania. The
Gravina Cruyllas were a prominent Sicilian aristocratic family of
Catalan origins settled in
Catania and
Palermo. At that time the
Salic law was in force, so the ultrogenous sons opted for either the ecclesiastical career, as in the case of the two brothers, or a military career, as was the case with Federico Carlo. With the help of his uncle, the
Neapolitan and
Sicilian Ambassador to
Spain, he entered the
Spanish Navy, as a naval cadet aged 12. He then served as midshipman on board the frigate
Santa Clara in Brazil. In the course of this voyage, he carried out his first command when obtaining the surrender of the castle of the Ascensión, located in a small barren island near Santa Catalina. In 1777 he survived a boat accident in the
River Plate in which most of the crew drowned. In 1778, on returning to Spain, he served as a lieutenant aboard a ship suppressing
Algerian pirates. He then obtained his first command – the polacre-rigged
xebec San Luis – in which he participated in the
Siege of Gibraltar between 1779 and 1782,
capturing the British sloop-of-war . After promotion to commander he participated in the expedition against
Menorca (then under British control), distinguishing himself in the attack on the
fortress of San Felipe. After this, and for other actions, he was promoted to captain. In 1785 he commanded a squadron operating against Algerian corsairs, wiping them out and being awarded for his success. In 1788 he travelled to
Constantinople returning the Ambassador Jussuf Efendi. While there he made and published various astronomical observations. After the death of
King Charles III, Gravina took the news to the colonies, where his frigate
Paz recorded one of the fastest-ever times for passages from Cadiz to the Spanish possessions in
Central America. In 1790 he was given command of a ship-of-the line, the
Paula, in which he took part in the evacuation of
Oran. The same year saw him demonstrate his administrative talents for the first time. During the
Nootka Crisis, Gravina organised the formation of a Spanish fleet, the largest in 200 years. However, the crisis was eventually solved by diplomatic means. In 1793 Gravina, now second-in-command of the Spanish fleet, served alongside
Samuel Hood in the
siege of Toulon. During this period he also visited Portsmouth to study British naval technology and tactics. On his return to Spain he was appointed to command a squadron of four ships, with which he served in the Mediterranean taking an active part in the war against Revolutionary France. His flagship was the
Hermenegildo (112). In 1796 Spain signed the
treaty of San Ildefonso with France, making peace and later entering the war against Britain. Gravina served in a squadron under
Jose de Mazarredo. In 1801 he was sent to
San Domingo in the West Indies in command of the Spanish fleet during the
Haiti expedition under the French General
Charles Leclerc. In 1804 he was appointed Ambassador to France in
Paris. He accepted this position on one condition: if war should break out he would immediately return to the military. While in Paris he attended
Napoleon's coronation as Emperor, and established good relations with
Denis Decres, the French naval minister. Gravina played a major part in the negotiations of the Franco-Spanish pact which put the Spanish Navy at Napoleon's disposal. For his services
King Charles IV appointed him Commander-in-Chief of the Spanish Navy, and Gravina returned to Cadiz to hoist his flag on the ship
Argonauta (80) in February 1805. == Trafalgar ==