The Lithuanian law has a long history. The origins are traced back to the first written source, the Casimir Code (), published in 1468 by the Grand Duke of Lithuania Casimir Jagiellon with the Lithuanian Council of Lords. It is considered to be the first codified law of the Grand Duchy of Lithuania. Statutes of Lithuania, published three times (in 1529, 1566 and 1588) were the most influent legal codes of Lithuania. The third variant of the Statute was in force in the territory of Lithuania until 1840 when it got replaced by the Russian laws. However, under the rule of the Russian Empire, there were three separate civil law systems in force in Lithuania: in Suvalkija the Napoleonic Code was still applied, whereas the German law was in force in Klaipėda Region.