I want to know the answer to the following question:
What was the name of William IV's heir?
All the background I'm provided with is that "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.". Is that enough to answer the question?
Answer: no