candidate: In 1852 , Peru promulgated its own civil code ( based on a project of 1847 ) , which was not a simple copy or imitation of the French one , but presented a more original text based on the Castillan law ( of Roman origin ) that was previously in force on the Peruvian territory .