Answer
Princess Charlotte, the only child of King George IV, was the heir presumptive to the British throne until her untimely death in 1817. Her passing without surviving children triggered a succession crisis, as the next in line were her elderly uncles. This led to the passing of the Regency Act of 1830, ensuring a smooth transition of power in the absence of a direct heir.