A rape suspect was buried alive in Bolivia along with the body of the woman that he is suspected of raping and killing.

Bolivian police identified 17-year-old Santos Ramos as the man who raped a murdered a 35-year-old woman near the municipality of Colquechaca, the BBC reports.

According to Jose Luis Barrios, the chief prosecutor in Potosi province, where the funeral was held, more than 200 angry community members seized the suspect and buried him alive in the grave of his victim on Wednesday night. According to Ramos, residents blocked the road to the community and prevented police or prosecutors from accessing the grave on Thursday.

According to a local radio station reporter who spoke on anonymity in fear of being attacked, told reporters that Ramos was tied up during the woman's funeral. He claims that the community members threw him right into the open grave alongside the coffin of the woman that was raped. They then filled in the grave with dirt.

It is not clear if there was evidence that proved that Ramos raped and murdered Leandra Arias Janco. The village took the justice system into its own hands.

Colquechaca is located more than 200 miles south-eat from La Paz, Bolivia's capital. There are about 5,000 people in the town.  Lynching's sometimes occur in isolated, poor parts of Bolivia where the police are not prevalent.

According to Newsmax, the Bolivian city of El Alto introduced a new law that allows for the castration and hand amputation of rapists and thieves if they're found guilty by the nation's indigenous population.

The country's "community justice law" lets indigenous people apply their own penalties in addition to the nation's punishments. Under the new law, convicted rapists can be chemically castrated by medical professionals.

If a professional doctor refuses to perform the castration, a less experienced indigenous doctor is brought in to perform the procedure.