Alfred the Great (Old English: Aelfrēd; c. 849 – 899), also known as Alfred of Wessex, was King of Wessex from 871 to 886 and later King of the Anglo-Saxons from c. 886 to 899. During his reign, he repelled the Viking invasions and laid the foundation for what became the Kingdom of England.