After the end of the Roman occupation of Britain, the area now known as England became divided into seven Anglo-Saxon kingdoms: Northumbria, Mercia, East Anglia, Essex, Kent, Sussex and Wessex. A number of other smaller political divisions and sub-kingdoms existed. The kingdoms were eventually united into the Kingdom of England in a process beginning with Egbert of Wessex in 829 and completed by King Edred in 954.