In a few decades after the establishment of the Duchy of Teschen, roughly at the same time it became a fee of the Kingdom of Bohemia (1327), written documents began to be produced in the local ducal chancellery. They closely followed patterns set by the capital of the country, Prague, including and foremost the chancellery language: Latin, German (alongside Latin from 1331), Czech (increasingly dominant over German from the mid-15th century). Probably due to the peripheral location and a certain level of autonomy the "cancellaria bohemica" in the Duchy of Teschen was preserved after the Battle of White Mountain (1620), in contrast to the region of Bohemia. The chancellery language did not reflect the ethnic composition of the majority of the population of Cieszyn Silesia, however it did affect the preference of the well established Czech over reimposed German, as it was linguistically much closer to the Cieszyn Silesian dialect.