In 1864 Alexander II implemented the great judicial reform. In major towns, it established courts with juries. In general, the judicial system functioned effectively, but the government lacked the finances and cultural influence to extend the court system to the villages, where traditional peasant justice continued to operate with minimal interference from provincial officials. The Russian judicial system was modelled after contemporary French and German law. Each case had to be decided on its merits and not on precedents. This approach remained in place ever since.