A Mexican judge has ordered seven soldiers to stand trial in relation to the killing of suspects after they were subdued.

The Federal Judiciary Council says the court ruled there is sufficient evidence to try all seven on charges of "actions improper to public service."

Three of the soldiers also face charges of aggravated homicide, abuse of authority, and altering a crime scene.

The council said Friday one of the seven would also be tried on charges of failing to stop a crime or covering it up.

The army originally said 22 suspects died in a June 30 gunbattle with troops. A witness told The Associated Press 21 were shot after they surrendered. A human rights commission said 15 were probably executed, and civilian prosecutors said it was eight.