The Mexican government is giving yet another version of what happened when soldiers killed 22 suspected gang members at a warehouse in rural southern Mexico last June.

Attorney General Jesus Murrillo Karam says there were two gunbattles in the town of San Pedro Limon.

He said Tuesday that all 22 were either dead or wounded in the June 30 exchange of fire. Then three soldiers killed the wounded. Murillo said a witness concurred with the government's version, even though she previously told The Associated Press and Esquire in separate interviews that 21 were killed after they had surrendered.

Three soldiers face homicide charges.

The army initially said all 22 were killed in a firefight. But the version came under question because of the lopsided outcome and evidence at the scene.