 Complete the following phrase:  In the 14th century, the town gained its first fortified walls still partly visible. In 1373 the town became part of the Lands of the Bohemian Czech Crown, ruled by the Luxembourg dynasty. In 1402, the Luxembourgs reached an agreement with Poland in Kraków. Poland was to buy and re-incorporate the region, but eventually the Luxembourgs sold it to the Teutonic Order. In 1454 the Teutonic Knights sold the town to the Margraviate of Brandenburg in order to raise funds for 