When General Graham went home on sick leave during Wellington's advance against the forts of Salamanca, Hope was appointed an assistant adjutant-general, in which capacity he was present at Salamanca, Burgos, Vittoria, Siege of San Sebastián, and the passage of the Bidassoa. He was afterwards selected, while attached to the 7th division, to act as assistant adjutant-general and military secretary to Marshal Beresford, who was in command of an army corps of three divisions. With this army corps Hope made the concluding campaigns, including the actions of the Nivelle, Nive, Orthez, and the Battle of Toulouse.