qnli question: Who did the throne of Hanover pass to instead of Queen Victoria? sentence: Thus, Hanover passed to William IV's brother, Ernest Augustus, and remained a kingdom until 1866, when it was annexed by Prussia during the Austro-Prussian war.