In 1231 the city of Kowalewo was captured by the Teutonic Knights. They soon built a castle, and in 1275 they granted city rights to this developing settlement. After the complete destruction of the city and the castle by the Tatars in 1286, relocation took place, most probably under the conditions of the Chełmno Law. The castle was rebuilt in 1278. Invasions of the Prussians, Tatars, and Lithuanians hastened the decision to build the defensive walls around the Kowalewo in the 14th century. In 1454 the city was invaded by the armies of the Prussia States who formed a rebellion against the Teutonic Knights.
Finally, in 1466 Kowalewo constituted a section of Poland. Since the 15th century in Kowalewo the Magistate Courts and Sejmik of the Chełmno Land had gathered. The city played a role of the local trade and craft center. During 1629, 1655-1657 the city was occupied and plundered by the Swedes, in 1713 by the Russians. In 1772 only 34 houses of the townspeople existed. The city walls were ruined, as well as the castle and church.
References:The Clementinum is a historic complex of buildings in Prague. Until recently the complex hosted the National, University and Technical libraries, the City Library also being located nearby on Mariánské Náměstí. The Technical library and the Municipal library have moved to the Prague National Technical Library at Technická 6 since 2009. It is currently in use as the National Library of the Czech Republic.
Its history dates from the existence of a chapel dedicated to Saint Clement in the 11th century. A Dominican monastery was founded in the medieval period, which was transformed in 1556 to a Jesuit college. In 1622 the Jesuits transferred the library of Charles University to the Klementinum, and the college was merged with the University in 1654. The Jesuits remained until 1773, when the Klementinum was established as an observatory, library, and university by the Empress Maria Theresa of Austria.