Junot's major command was during the Peninsular War, when he commanded the 1807 Invasion of Portugal. Setting out in November from Salamanca,with the promise of a ducal title and a marshals baton, his vanguard accomplished a bloodless occupation of Lisbon on 30 November. For this feat, he was granted the ducal victory title of "Duc d'Abrantès" and was made Governor of Portugal, though he was not given the baton.