The First Czechoslovak Republic (Czech: První československá republika; Slovak: Prvá československá republika), often colloquially referred to as the First Republic (Czech: První republika; Slovak: Prvá republika), was the first Czechoslovak state that existed from 1918 to 1938, a union of ethnic Czechs and Slovaks. The country was commonly called Czechoslovakia (Czech and Slovak: Československo), a compound of Czech and Slovak; which gradually became the most widely used name for its successor states. It was composed of former territories of Austria-Hungary, inheriting different systems of administration from the formerly Austrian (Bohemia, Moravia, a small part of Silesia) and Hungarian territories (mostly Upper Hungary and Carpathian Ruthenia).