 Ferdinand also took advantage of his peace with Bethlen to strengthen his position in Hungary.The Diet of Hungary confirmed the right of his son, Ferdinand III, to succeed him in October 1625.Ferdinand also achieved the election of a Catholic magnate, Count Miklós Esterházy, as the new palatine with the support of the Archbishop of Esztergom, Cardinal Péter Pázmány.