At the close of World War I , the Czechs and Slovaks of the former Austro-Hungarian Empire merged to form Czechoslovakia .