 After the Austro-Hungarian army disintegrated in November 1918, Czechoslovak troops liberated the area, later acknowledged internationally by the Treaty of Trianon.Between 1938 and 1945 Trávnik was occupied by Miklós Horthy's Hungary through the First Vienna Award.From 1945 until the Velvet Divorce, it was part of Czechoslovakia.