Duchy of Warsaw
After Napoleon defeated Prussia, Prussian occupied Lithuanian territories were transferred to the newly established Duchy of Warsaw. During the years 1807–1813, Prienai belonged to the Duchy of Warsaw. The Napoleonic code was then introduced in this region, which abolished serfdom and guaranteed equality before the law.