Wessex was an old Anglo-Saxon kingdom before England became one country. It was one of seven kingdoms in England. It was named after the West Saxons. It was in the south and southwest of England. Wessex was a kingdom from the 6th century until the English state was made in the 9th century. It was an earldom between 1016 and 1066. Then "Wessex" was not an official place name. The 19th century novelist Thomas Hardy wrote about Wessex in his books which tell stories set in that area.