How did Alfred the Great secure his modern reputation as a state-builder?

http://en.wikipedia.org/wiki/Alfred_the_Great