On 19 May 1804, Ney received his marshal's baton, emblematic of his status as a Marshal of the Empire, the Napoleonic era's equivalent of Marshal of France. In the 1805 campaign, Ney took command of the VI Corps of the "Grande Armée" and was praised for his conduct at Elchingen. In November 1805, Ney invaded Tyrol, capturing Innsbruck from Archduke John. In the 1806 campaign, Ney fought at Jena and then occupied Erfurt. Later in the campaign, Ney successfully besieged Magdeburg. In the 1807 campaign, Ney arrived with reinforcements in time to save Napoleon from defeat at Eylau, although the battle ended in a draw. Later in the campaign, Ney fought at Güttstadt and commanded the right wing at Friedland. On 6June 1808, Ney was made Duke of Elchingen. In August 1808, he was sent to Spain in command of the VI Corps and saw action in a number of minor engagements. In 1809, he skirmished with an Anglo-Portuguese force under Sir Robert Thomas Wilson at Puerto de Baños. In 1810, Ney joined Marshal André Masséna in the invasion of Portugal, where he captured Ciudad Rodrigo and Almeida, and saw further action on the River Côa, and at Bussaco. During the retreat from the Torres Vedras, Ney engaged Wellington's forces in a series of rearguard actions (Pombal, Redinha, Casal Novo, and Foz d'Arouce) through which he managed to delay the pursuing Coalition forces long enough to allow the main French force to retreat intact. He was ultimately removed from his command for insubordination.