Slavery in Poland existed on the territory of the Kingdom of Poland during the rule of the Piast dynasty in the Middle Ages. It continued to exist in various forms until late in the 14th century when it was supplanted by the institution of serfdom, which has often been considered a form of modified slavery.