<P> Succession to the British throne is determined by descent, gender (for people born before October 2011), legitimacy, and religion . Under common law, the Crown is inherited by a sovereign's children or by a childless sovereign's nearest collateral line . The Bill of Rights 1689 and the Act of Settlement 1701, restrict succession to the throne to the legitimate Protestant descendants of Sophia of Hanover that are in "communion with the Church of England". Spouses of Roman Catholics were disqualified from 1689 until the law was amended in 2015 . Protestant descendants of those excluded for being Roman Catholics are eligible . </P> <P> Queen Elizabeth II is the sovereign, and her heir apparent is her eldest son, Charles, Prince of Wales . Next in line after him is Prince William, Duke of Cambridge, the Prince of Wales's elder son . Third in line is Prince George, the son of the Duke of Cambridge, followed by his sister, Princess Charlotte . Fifth in line is Prince Henry of Wales, the younger son of the Prince of Wales . Sixth in line is Prince Andrew, Duke of York, the Queen's second - eldest son . Any of the first six in line marrying without the sovereign's consent would be disqualified from succession . </P> <P> The first four individuals in the line of succession who are over 21, and the sovereign's consort, may be appointed Counsellors of State . Counsellors of State perform some of the sovereign's duties in the United Kingdom while he or she is out of the country or temporarily incapacitated . Otherwise, individuals in the line of succession need not have specific legal or official roles . </P>

Who takes the throne when the queen dies