Mexican President Enrique Pena has enacted a law mandating that the state help victims of crime and their relatives with payments and social services.

The law requires local and federal authorities to compensate victims by covering their health and psychiatric care costs. It also mandates the creation of a relief fund and a national registry of crime victims.

The law enacted Wednesday says the funds will come from the lower house budget but doesn't set out how much money would be assigned to helping crime victims and their relatives.

The ratification of the law was one of the main demands of civil groups demanding the government do more to help the thousands of victims of drug-related violence. It goes into effect in 30 days.