In 1846, he defeated the Xhosa on the Gwangu, and was promoted major-general on 11 November 1851. At the conclusion of the 8th Xhosa War in 1853, he was made a Knight Commander of the Bath for his services, and left the Cape to go on the staff of the Bombay Army. He served as the Commander-in-chief of the Bombay Army from 26 March 1855 to March 1860, and then returned to England. On 29 January 1857 he was promoted lieutenant-general. He died in Gibraltar in 1862.