In 1809 Wellesley became the British envoy to Spain - his eldest brother, by now Marquess Wellesley, was now Foreign Secretary, while his brother Arthur (now Viscount Wellington) was the commander of the Anglo-Portuguese forces in the Iberian Peninsula. Together, the three brothers helped to make the Peninsular campaign a success, and in 1812 Wellesley was knighted. He remained Ambassador to Spain until 1821, but found time to marry again, this time to Lady Georgiana Cecil, daughter of the Marquess of Salisbury. In 1823, Wellesley became Ambassador to Austria, where he remained until 1831. Although he was close acquaintances with Foreign Secretary George Canning, who had asked Wellesley to serve as his second in his duel with Lord Castlereagh, Wellesley felt that Canning did not appreciate his services, feeling him to be too conciliatory.