Czechoslovakia didn't exist as a country until after World War I. During the 19th century, Moravia was part of the Austro-Hungarian Empire. Moravia always had a substantial minority of ethnic Germans, until they were forcibly expelled after World War II. Sigmund Freud was from Moravia. You can learn more about the history of the region on Wikipedia.