<human>: Does "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)." correctly answer the question of What was the name of William IV's heir?
OPTIONS:
- yes
- no
<bot>: yes