The Civil Code of the Philippines, influenced by the Spanish Civil Code of 1889, was enacted in 1950 after a lengthy process interrupted by World War II. It repealed earlier laws and introduced new rights and causes of action, including provisions on moral actions, trust, and municipal liability. The code is divided into five books covering various aspects of civil law, reflecting both Spanish and American legal influences.