The Diet authorized Gabriel to begin negotiations with Matthias II, and their envoys signed an alliance in Pressburg (now Bratislava in Slovakia) on 24 December 1612. Matthias sent his delegates to Transylvania to urge the Saxons to surrender to Gabriel. The treaty outraged Ahmed I, who decided to replace Gabriel with Bethlen in March. Matthias and Gabriel's envoys concluded a new treaty on 12 April, and Matthias acknowledged Gabriel's hereditary right to rule Transylvania. In a secret agreement, Gabriel promised to support Matthias even against the Ottomans. He granted a royal pardon to the Saxons and their allies, including Géczi (who was made commander of Gabriel's guard).