in the English language. There is no unanimous consensus on its precise origin, but popular theories link it with the medieval village of Lodzia and the now-canalised River Łódka on which the modern city was founded. It may have also derived from the term denoting a willow tree and the personal Old Polish name Włodzisław. History Early beginnings (1332–1815) Łódź first appears in a 1332 written record issued by Władysław the Hunchback, Duke of Łęczyca, which transferred the village of Lodzia to the Bishopric of Włocławek. The document enumerated the privileges of its inhabitants, notably the right to graze land, establish pastures and engage in logging. In 1423, King of Poland Władysław II Jagiełło officially granted town rights to the village under Magdeburg Law. For centuries, it remained a small remote settlement situated among woodlands and marshes, which was privately held by the Kuyavian bishops. The economy was predominantly driven by agriculture and farming until the 19th century. The earliest two versions of the coat of arms appeared on seal emblems in 1535 and 1577, with the latter illustrating a boat-like vessel and a turned oar. With the Second Partition of Poland in 1793, Łódź was annexed by Prussia. In 1798, the Kuyavian bishops' ownership over the region was formally revoked during the secularisation of church property. The town, governed by a burgomaster (), at the time had only 190 residents, 44 occupied dwellings, a church and a prison. In 1806, Łódź was incorporated into the Napoleonic Duchy of Warsaw. In the aftermath of the 1815 Congress of Vienna, the duchy was dissolved and the town became part of the Congress Kingdom of Poland, a client state of the Russian Empire. Partitions and development (1815–1918) In 1820, the government of the Congress Kingdom designated Łódź and its rural surroundings for centrally planned industrial development. Rajmund Rembieliński, head of the Administrative Council and prefect of Masovia, became the president of a commission that subdivided the works two major phases; the first (1821–23) comprised the creation of a new city centre with an octagonal square (contemporary ; Liberty Square) and arranged housing allotments on greenfield land situated south of the old marketplace; the second stage (1824–28) involved the establishment of cotton mill colonies and a linear street system along with an arterial north-south thoroughfare, Piotrkowska. Many of the early dwellings were timber cottages built for housing weavers (). During this time, a