Indeed, having its territory reduced by 73% after the war all but killed her. I mean Hungary was already on a downward trajectory after the 1526 Battle of Mohacs which she lost against the Ottomans, and that downward slope culminated in the Treaty of Trianon, which reduced the country to irrelevance ever since.