junot's major command was during the peninsular war, when he commanded the 1807 invasion of portugal. setting out in november from salamanca, 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.