The United Nations Committee Against Torture has found that Mexican soldiers tortured four men they detained as crime suspects in a northern state in 2009.

A Mexican human rights group, which announced the ruling Friday, said it was the first time the U.N. committee issued a decision on an individual case in Mexico.

The committee's decision calls for release of the four men, who have been jailed since 2009 on charges of kidnapping, weapons possession and auto theft. It also demands an investigation of the torture of the four and prosecution of those found responsible. It found the Mexican government violated the convention against torture.

Mexico's government had contested the admissibility of case. It has 90 days to respond. A request for comment to the Ministry of Foreign Relations was not immediately answered Friday.

According to the U.N. finding, the four men were detained June 16, 2009, in Playas de Rosarito in Baja California state and were beaten and electrocuted. Three were taken together outside a hotel. After they were beaten and interrogated, soldiers picked up a fourth man in the street who they accused of being a lookout.

All four were taken to two houses where beatings and interrogation continued and then eventually were moved to an army base in the border city of Tijuana. They were paraded in front of journalists as a band of kidnappers. Later at the base, they were beaten, suffocated with plastic bags to the point of losing consciousness and had toenails pulled out.

They were told a detective would come the following day to take their statements admitting to kidnapping. They were held at the base for four days.

All four were charged with kidnapping, weapons possession and auto theft. They are held in a prison in the western state of Nayarit.

Jose Antonio Guevara Bermudez, executive director of the Mexican Commission for the Defense and Promotion of Human Rights, a non-governmental organization representing the men, said Friday that the U.N. decision was an opportunity for Mexico's government "to show that in this country there is the will to comply with international, constitutional obligations in the area of human rights."

Mayra Lopez, the sister and lawyer for one of the men, Ramiro Lopez, said her brother lost hearing in one ear as the result of the beatings. She called the committee's decision "excellent."

On Wednesday during a visit to Mexico, the United Nations' top human rights official called on the government to work quickly to withdraw the military from law enforcement duties.