Piast dynasty
The oldest known mention of the settlement comes from a document issued by Duke Konrad I of Masovia of the Polish Piast dynasty in 1222.