At Talavera a British army under Sir Arthur Wellesley (later the Duke of Wellington) tried to link up with a Spanish army under General Cuesta to ambush a French corps under Marshal Victor. But things went wrong and the British had to fight their way to safety.