LONDON -- With the passing of Queen Elizabeth II, there is a new line of succession to the British throne.
The queen's oldest son, Charles, has become king. And with his ascension to the throne, members of his direct family, including his sons Princes William and Harry, are now higher in the line of succession.
In general, succession falls to the first-born child of the heir and their children, followed by the next oldest sibling of the heir and their offspring and so on. That's why, for instance, Prince Charles' children and grandchildren are ahead in line of Charles' oldest brother, Prince Andrew, the Duke of York.
Other rules make the order more complicated.
Under British laws established in the late 1600s and early 1700s, the succession to the throne can be regulated by Parliament, which can remove monarchs for "misgovernment," according to the royal family's website.
In order to be king or queen, the sovereign must be in communion with the Church of England and must promise to uphold the Protestant succession.
In 2013, a law called the Succession to the Crown Act ended the centuries-old practice of a younger son superseding an elder daughter in the line of succession.
The act, which applies to royals born after Oct. 28, 2011, also ended the provisions by which those who marry Roman Catholics are disqualified from the line of succession. The changes came into full effect in March 2015.
As a ruler, the British monarch serves as the head of state, within the limits of the constitution.
A new sovereign ascends to the throne upon the death of the previous monarch.
After the monarch's death, the Accession Council, a ceremonial body, is expected to meet at St. James's Palace in London as soon as possible to formally proclaim the accession of the successor to the throne and witness the statutory oath.
If the monarch is still a child when succeeding to the throne, a regent is appointed to perform the royal functions until the monarch turns 18. The same can happen if the monarch is absent or incapacitated, according to the royal family's official website.
Here is the current line of succession to the British throne, as listed on the royal family's official website.
1. Prince William, Duke of Cambridge
2. Prince George of Cambridge
3. Princess Charlotte of Cambridge
4. Prince Louis of Cambridge
5. Prince Harry, Duke of Sussex
6. Master Archie Mountbatten-Windsor
7. Miss Lilibet Mountbatten-Windsor
8. Prince Andrew, Duke of York
9. Princess Beatrice of York (Mrs. Edoardo Mapelli Mozzi)
10. Miss Sienna Mapelli Mozzi
11. Princess Eugenie of York (Mrs. Jack Brooksbank)
12. Master August Brooksbank
13. Prince Edward, Earl of Wessex
14. James, Viscount Severn
15. The Lady Louise Mountbatten-Windsor
16. Anne, Princess Royal
17. Mr. Peter Phillips
18. Miss Savannah Phillips
19. Miss Isla Phillips
20. Zara Tindall (Mrs. Michael Tindall)
21. Miss Mia Tindall
22. Miss Lena Tindall
23. Master Lucas Tindall