Princess Charlotte of Wales was King George III's eldest legitimate grandchild. While her father wasn't George IV yet, he ruled as regent as George III had eventually became insane. She died shortly after giving birth to a still-born son. Had she outlived both George III and her father George IV she would have become Queen of Great Britain. The role passed to George IV"s younger brother who became William IV.