i found out from the script that , king george the 3rds second son , prince frederick , was heir presumptive to his brother george the 4th and second in line to the throne after his fathers death in 1820 .