Original sentence: After their success in overrunning the Iberian peninsula, the Umayyads had moved northeast over the Pyrenees where they were defeated 721 at the Battle of Toulouse and then at the Battle of Covadonga
Edited sentence: After their success in overrunning the Iberian peninsula, the Umayyads had moved northeast over the Pyrenees where they were defeated in 721 at the Battle of Toulouse and then at the Battle of Covadonga