 Finally it was a British gunboat was used to take the royal couple to leave Hungary.Bethlen then presented Parliament with a bill that would nullify the Pragmatic Sanction of 1713.Passed on 6 November, this in essence dethroned the Habsburg dynasty, though Hungary remained a monarchy and a Habsburg could theoretically be elected king in the future.