A statement Saturday by the prosecution office said the accused took part in the attack by firing at the ministry's guards. The ensuing firefight left one attacker, two ministry guards and two civilians dead.
The convicted soldiers belong to Republican Guard units led by Ahmed Saleh, son of former president Ali Abdullah Saleh. They were protesting a decree issued by President Abed Rabbo Mansour Hadi that put some of the force's units under presidential oversight.
The decree was part of Hadi's moves to restructure the army and purge it of former regime loyalists.
(Copyright 2012 by The Associated Press. All Rights Reserved.)