An Army soldier ordered to tell his sex partners he was infected with the AIDS virus was dishonorably discharged when he failed to do so, officials said.

Army Spec. 4 Mark Rogers pleaded guilty Thursday at a court martial to three counts of disobeying orders to notify sex partners, all civilians, that he had tested positive, said prosecutor Capt. Joel Wilson.Rogers, 25, also admitted to one count of adultery and one count of aggravated assault for having unprotected sex, a spokeswoman said.

"There's a military case of law that the military has the right to go into a fairly personal part of the person's life because there's the responsibility to make sure people in the military are healthy," Wilson said.

Rogers was sentenced to 10 years behind bars but will serve four years under a pre-trial agreement.