Question: The Emishi were defeated in what year?
Sentence: By 801 the shogun had defeated the Emishi and had extended the imperial domains to the eastern end of Honshū.
Answer in sentence: yes