In 1198 Duke Ottokar I of Bohemia received the royal title by the German anti-king Philip of Swabia. Attached to his Kingdom of Bohemia was the Margraviate of Moravia established in 1182 and Kłodzko Land, the later County of Kladsko. From the second part of the 13th century onwards, German colonists ("German Bohemians") settled in the mountainous border area on the basis of the kings' invitation during the Ostsiedlung (in Prague they lived already from the early 12th century) and lived alongside the Slavs.