When his uncle Anton succeeded his older brother as king (1827), John became the third in line to the throne, and after his father Maximilian renounced his succession rights in 1830, John became in the second in line.