In this Nov. 5, 2012, photo provided by the U.S. Army, U.S. Army Pfc. Mark Domingo, left, takes an Afghan man’s fingerprints. Sgt. Christopher Bonebrake/U.S. Army via AP.

The Army veteran accused of plotting a terrorist attack in Long Beach was demoted and discharged from the military for a serious offense, a U.S. official told The Associated Press on Tuesday.

Mark Domingo violated the Uniform Code of Military Justice and was kicked out of the service before completing his enlistment contract, according to the official, who was not authorized to speak publicly about personnel issues and provided the information only on condition of anonymity.

Officials would not provide details on his offense.

Authorities say Domingo, 26, was arrested Friday as he planned to plant bombs before a scheduled rally in Long Beach that was linked to white-nationalists but later canceled and overwhelmed by counter-protestors. He was charged with providing material support to terrorists and held without bail.

Counter-protestor chant at Bluff Park to protest white nationalist in Long Beach Sunday, April 28, 2019. Photo by Thomas R Cordova.

Domingo, a former combat infantryman, had recently converted to Islam and discussed several plots over the past two months to kill scores of people in Southern California in revenge for attacks on New Zealand mosques that killed 50 people last month, federal prosecutors said.

The terror plot was foiled by the FBI and police using an undercover officer and informant, who Domingo thought were his accomplices.

Military records show Domingo served about 16 months in the Army, including a four-month stint in Afghanistan in fall 2012. He left with a rank of private, the lowest possible grade.

Mark Domingo. Photo by Kelly Puente.
Mark Domingo. Photo by Kelly Puente.

An Army photo of Domingo in Afghanistan in November 2012 identified him as private first class, which is two steps above his discharge ranking.

Domingo was given a general discharge, which is an administrative action a step below an honorable discharge, the official said.

Associated Press investigative researcher Randy Herschaft in New York contributed to this report.