Lord Wellesley; employing himself during his convalescence in translating Dundas's Cavalry Movements into Spanish. He was promoted to be major-general in the Spanish army on 12 August. On the appointment of Castaños to be captain-general of Andalusia, Whittingham became one of his generals of division. At Isla-de-Leon, whither he went by Sir Arthur Wellesley's direction to see General Venegas about the defence of Cadiz, he was given the command of the Spanish cavalry, which he remodelled upon British lines. Whittingham served in command of a force of Spanish cavalry and infantry under La Peña at the battle of Barrosa, on 5 March 1811, and kept in check a French corps of cavalry and infantry which attempted to turn the Barossa heights by the seaward side. In June he went to Palma, Majorca, with the title of inspector-general of division, and, in spite of the opposition and intrigues of Don Gregorio Cuesta, captain-general of the Balearic Islands, raised a cavalry corps two thousand strong, and established in February 1812 a college in Palma for the training of officers and cadets of his division. On 24 July 1812 the Majorca division embarked for the eastern coast of Spain to co-operate with the troops under Lord William Bentinck from Sicily. In October Whittingham's corps (increased to seven thousand) was employed on outpost duty with its headquarters at Muchamiel, three miles from Alicante. In March 1813 Whittingham was appointed inspector-general of both the cavalry and infantry troops of his division. He was engaged on the 7th of the month in the affair of Xegona, and on the 15th in the affair of Concentayña was wounded by a musket-ball in the right cheek, and was on both occasions most favourably mentioned by Sir John Murray in despatches. On 13 April he took part in the victorious battle of Castalla, and was again mentioned in despatches. When Murray invested Tarragona on 3 June Whittingham's division occupied the left. On Suchet's advance to relieve the place Whittingham vainly suggested to Murray that a corps of observation should be left before Tarragona, and that Murray should move to meet Suchet with all his force. The siege was raised. Murray was relieved in command of the army by Lord William Bentinck, and Whittingham covered the retreat, checking and repulsing the French column in pursuit, and joining the main army again at Cambrils. In July he was given the command