There have been ethnic Germans living in the Bohemian crown lands since the Middle Ages.[14] In the late 12th and in the 13th century the Přemyslid rulers promoted the colonization of certain areas of their lands by German settlers from the adjacent lands of Bavaria, Franconia, Upper Saxony and Austria during the Ostsiedlung migration.