of Ellandun, King Egbert of Wessex seized control of Surrey, along with Sussex, Kent and Essex. It was incorporated into Wessex as a shire and continued thereafter under the rule of the West Saxon kings, who eventually became kings of all of England. Identified sub-kings of Surrey Frithuwald () Frithuric? () West Saxon and English shire In the 9th century England was afflicted, along with the rest of northwestern Europe, by the attacks of Scandinavian Vikings. Surrey's inland position shielded it from coastal raiding, so that it was not normally troubled except by the largest and most ambitious Scandinavian armies. In 851 an exceptionally large invasion force of Danes arrived at the mouth of the Thames in a fleet of about 350 ships, which would have carried over 15,000 men. Having sacked Canterbury and London and defeated King Beorhtwulf of Mercia in battle, the Danes crossed the Thames into Surrey, but were slaughtered by a West Saxon army led by King Æthelwulf in the Battle of Aclea, bringing the invasion to an end. Two years later the men of Surrey marched into Kent to help their Kentish neighbours fight a raiding force at Thanet, but suffered heavy losses including their ealdorman, Huda. In 892 Surrey was the scene of another major battle when a large Danish army, variously reported at 200, 250 and 350 ship-loads, moved west from its encampment in Kent and raided in Hampshire and Berkshire. Withdrawing with their loot, the Danes were intercepted and defeated at Farnham by an army led by Alfred the Great's son Edward, the future King Edward the Elder, and fled across the Thames towards Essex. Surrey remained safe from attack for over a century thereafter, due to its location and to the growing power of the West Saxon, later English, kingdom. Kingston was the scene for the coronations of Æthelstan in 924 and of Æthelred the Unready in 978, and, according to later tradition, also of other 10th-century Kings of England. The renewed Danish attacks during the disastrous reign of Æthelred led to the devastation of Surrey by the army of Thorkell the Tall, which ravaged all of southeastern England in 1009–1011. The climax of this wave of attacks came in 1016, which saw prolonged fighting between the forces of King Edmund Ironside and the Danish king Cnut, including an English victory over the Danes somewhere in northeastern Surrey, but ended with