 Complete the following phrase:  Warre served as deputy quartermaster-general at the Cape of Good Hope from 181321. In 1823, he was appointed a permanent assistant quartermasters-general, and served in Dublin until 1826, when he was transferred to Portsmouth. In December 1826, he was appointed assistant quartermaster-general under Lieutet-General Sir William Henry Clinton. He was sent back to Portugal, where he stayed until 1828, to support the Portuguese against Spain in the 