Prosecutors have unearthed the bodies of two men and three women from clandestine burial pits in the resort city of La Paz, Mexico.

The prosecutors' office for Baja California Sur state said in a statement late Monday the bodies were found wrapped in plastic bags and buried.

Police were led to the grave sites by a captured suspect, who was found with drugs and an assault rifle. He told prosecutors he worked for a gang called "The 28."

The suspect told police he had been in charge of burying the bodies, though the reason for the murders and the causes of death remain under investigation.

The once-tranquil resort of La Paz has been hit by a wave of killings and violent crime over the last year.