An ex-con pleaded not guilty today to murdering a man in Long Beach in January.

Armando Train of Long Beach, 25, was charged Feb. 14 with one count each of murder, possession of a firearm by a felon and unlawful possession of ammunition.

The criminal complaint includes an allegation that Train personally used a handgun in the commission of the Jan. 29 killing of Eduardo Alonso, along with allegations that he has been convicted of four crimes, including robbery, since 2017.

The 30-year-old victim was shot at about 2 p.m. in the 1400 block of Long Beach Boulevard, and he died at the scene, police said.

“The preliminary investigation suggests the suspect … was involved in an altercation with the victim inside a building that appeared to have been converted into an encampment by persons experiencing homelessness,” police said shortly after the shooting.

A motive for the killing was not known, police said. Train was arrested Feb. 9 by Long Beach police and has remained behind bars since then, according to jail records.

Suspect arrested in slaying at homeless encampment in vacant building, LBPD says