Duchy of Oświęcim
Politically the village belonged initially to the Duchy of Cieszyn and Castellany of Oświęcim, which was in 1315 formed in the process of feudal fragmentation of Poland into the Duchy of Oświęcim, ruled by a local branch of Silesian Piast dynasty. In 1327 the duchy became a fee of the Kingdom of Bohemia. In 1457 Jan IV of Oświęcim agreed to sell the duchy to the Polish Crown, and in the accompanying document issued on 21 February the village was mentioned as "Lipnik". The territory of the Duchy of Oświęcim was eventually incorporated into Poland in 1564 and formed Silesian County of Kraków Voivodeship.