 In 1799 he was named director general of the navy, a position he occupied simultaneously with other high positions until 1807.On February 6, 1805, upon the appointment of General Domingo Grandallana as commander of the squadron at el Ferrol, Gil de Taboada was named interim secretary of state and of the navy.In November of that year he was promoted to captain general in the navy.