Translation:Czechia, Austria, and Slovakia were in the same country two centuries ago.
Czechia, Austria and Slovakia were part of the same country two centuries ago.
This sounds much more natural to my ear.
Yes, your English sentence is more elegant, but it is not a better translation of what the Czech sentence actually says. Right?