The beginning of the early medieval period – with this era the tradition of rule by Shogun that lasted in various forms until 1868.