Herzogtum Auschwitz
The village was first mentioned in 1404. It belonged then to the Duchy of Oświęcim, a fee of the Kingdom of Bohemia. In the document of Jan IV of Oświęcim issued on 21 January 1457 in which the duke agreed to sell the Duchy of Oświęcim to the Crown of the Kingdom of Poland the village was mentioned as "Lanky".