In 878, West Saxon forces led by Alfred the Great defeated the Vikings at the Battle of Ethandun and forced their leader Guthrum to sue for peace. The Treaty of Wedmore and the later Treaty of Alfred and Guthrum divided England and created the Danish-controlled Danelaw.