Frederick VII of Denmark
When Julianes childless nephew, Frederick VII of Denmark became king in 1848 she was second in-line to the throne after her childless brother, Ferdinand, Hereditary Prince of Denmark who was the only male left in the royal family besides the king. However, there was already political talks about securing the Danish Monarchy, which consisted of several states which had different laws regarding female succession, by giving the throne to a person that could keep the different parts together and Juliane accepted this.