By the end of 1811, King George III was incapacitated and, although he was still king in name, his heir-apparent and eldest son, Prince George, was regent. On 6 November 1817 the Prince Regent's only child, Princess Charlotte, died in childbirth. Princess Charlotte was second in line to the throne: had she outlived her father and grandfather, she would have become queen. With her death, the King was left with twelve children and no legitimate grandchildren. The Prince Regent was estranged from his wife, who was 49 years old, thus there was little likelihood that he would have any further legitimate children. To secure the line of succession, Prince William, Duke of Clarence, and the other sons of George III sought quick marriages with the intent of producing offspring who could inherit the throne. William already had ten children by the popular actress Dorothea Jordan, but, being illegitimate, they were barred from the succession.