 His colleagues, however, persuaded her to restore him in his posts.After negotiations were completed, Eleonore signed the Treaty of Szatmár, which recognized the rule of the House of Habsburg in the Kingdom of Hungary.She also appointed Alexander Károlyi general.