Bürgerliches Gesetzbuch
The first "permanent" system of codified laws could be found in imperial China , with the compilation of the "Tang Code" in AD 624. This formed the basis of the Chinese criminal code, which was eventually replaced by the "Great Qing Legal Code", which was in turn abolished in 1912 following the Xinhai Revolution and the establishment of the Republic of China. The new laws of the Republic of China were inspired by the German codified work, the Bürgerliches Gesetzbuch. A very influential example in Europe was the French Napoleonic code of 1804.