 Complete the following phrase:  He saw action at the Battle of Roliça on 17 August 1808, at the Battle of Vimeiro on 21 August 1808, where he was wounded, and at Corunna on 16 January 1809 where he was by the side of Sir John Moore when the latter was killed. He was promoted to major on 13 April 1809 and appointed deputy-quartermaster-general in the Portuguese army and was present at many of the battles of the Peninsular War. Promoted to lieutet-colonel in 1811, he saved the day for the British at 