 With William's death, the personal union ended between Hanover and the United Kingdom, and William's brother (Ernest Augustus) took over as ruler of the kingdom of Hanover.Their niece Victoria acceded to the throne of the United Kingdom, but could not inherit Hanover due to the provision of Salic Law in force in Hanover, which barred females from ruling.About one month after he succeeded to the throne, King Ernest addressed the matter of the Constitution.