So with the death of Charles VI (Charles III of Hungary) came the extinction of the main line of the House of Habsburg. Upon his death the Kingdom of Hungary could have reverted back to an electoral monarchy, instead they passed the Pragmatic Sanction of 1723. This ensured that Marie Theresa and her children would continue to be the monarchs. What would have happened if the sanction wasn't passed, besides a messier War of Austrian Succession, who could have been elected king?