qnli question: Who did the throne of Hanover pass to instead of Queen Victoria? sentence: In 1837, the personal union of the United Kingdom and Hanover ended because William IV's heir in the United Kingdom was female (Queen Victoria).