Kammala jumla mai zuwa: Tsohon sanannen ambaton Leśnica ya fito ne daga takaddar 1217 na Duke Casimir I na Opole. An samo sunansa daga kalmar Poland "las" ("gandun daji"). Garin ya kasance wani ɓangare na Duchy na Opole na Poland da aka rarraba, kuma daular Piast ta ci gaba da mulkinta har zuwa 1532. An hallaka garin a 1429 a lokacin
Yaƙin Hussite. A cikin 1532 an haɗa shi cikin ƙasashen Bohemian Crown, a cikin 1645 ya sake komawa Poland a ƙarƙashin Gidan Vasa, kuma a cikin 1666 ya koma Bohemia.