But the Bohemians, at least the duchies, were they considered a part of the HRE or were they just a sort of vassal that was attached to the empire rather than ruled by the empire?
From the 14th century onwards, when the Luxembourg dynasty became Kings of Bohemia, yes, they were part. But what about before? Bohemia/Moravia projected some independent local power.
Bookmarks