the capitulation on 6 July, and sailed for England on 30 July. He gave evidence before the general court-martial, by which Whitelocke was tried in London in February and March 1808. Owing to his having served on Whitelocke's personal staff, Whittingham's position was a delicate one; but he acquitted himself with discretion. Whittingham was immediately afterwards appointed deputy-assistant quartermaster-general on the staff of the army in Sicily. On arrival at Gibraltar, however, he acted temporarily as assistant military secretary to Lieutenant-general Sir Hew Dalrymple, the governor, and, hearing of a projected campaign of the Spaniards under Don Xavier Castaños against the French, obtained leave to join Castaños as a volunteer, with instructions to report in detail to Dalrymple on the progress of affairs. This special duty was approved from home on 2 July 1808, and on the 18th of the same month Whittingham was appointed a deputy-assistant quartermaster-general to the force under Sir Arthur Wellesley, but was ordered to remain with Castaños. He took part under La Peña on 18 July 1808 in the victorious battle of Baylen, and for his services was made a colonel of cavalry in the Spanish army on 20 July. On his recovery from a severe attack of rheumatic fever, Whittingham was sent to Seville on a mission from the Duke of Infantado, and in February 1809 joined the army corps of the Duke of Alburquerque in La Mancha, where he took part in several cavalry affairs with such distinction that he was promoted to be brigadier-general in the Spanish army, to date from 2 March 1809. He was present at the battle of Medellin on 28 March, when the Spanish general Cuesta was defeated by the French general Victor-Perrin. On this occasion Whittingham re-formed the routed cavalry and led them against the enemy. He reported constantly throughout these campaigns to the British minister in Spain, John Hookham Frere, as to the state and operations of the Spanish army. A short time previous to Wellesley's advance into Spain Whittingham joined the British headquarters on the frontier of Portugal, and became the medium of communication with the Spanish general Cuesta. On 28 July at the battle of Talavera he was severely wounded when gallantly bringing up two Spanish battalions to the attack, and was mentioned in Sir Arthur Wellesley's despatch of 29 July 1809. He went to Seville to recover, and lived with the British minister,