He was King for 25 years but for 4 years before that he controlled the country but was not the officail great king
King Alfred the great became king of wessex in 871 to 899.
because alfreds brother died and that is how he became king
"Alfred the Great" was the King of Wessex from 871 to 899.