Input (grade 11): It was reputedly the capital of the Kingdom of Wessex from 871 to 901 AD, although this is not supported by modern research.
Output (grade 6): Somerton was the capital of the Kingdom of Wessex from 871 to 901.