Bohemia: Why did it retain a slavic identity?

by Veiovis2020

In the 8 and 9th century, Bohemia was flanked north and south by other "slavic" territories. A couple centuries later, eastern Austria, Hungary and modern east Germany were no longer majority "slavic", while Bohemia retained this identity to this day, the pre-WWII large German population nothwithstanding. Why did it avoid either "german" or magyar displacement/colonization/assimilation where the elbic,austrian and pannonian slavs failed?

As a second question: You have likely relialized I used "" in the ethnicity descriptors above. This is because I am afraid that I am projecting a pretty anachronistic view into the early middle ages. Am I correct to fear this?

Jwann-ul-Tawmi

You might want to have a look at the response (by /u/CCCVCCCC) to a very similar question asked at r/askhistorians some years ago https://www.reddit.com/r/AskHistorians/comments/31xcfj/why_was_bohemia_able_to_retain_its_slavic/