BANGOR, Maine — A former Greenville man, one of two friends arrested earlier this week on murder charges in connection with the shooting death of a homeless man in Hollywood, is a student at California Maritime Academy but had not enrolled for classes that started Monday, according to a school spokesman.

Troy T. McVey, 22, is accused of killing the male transient late Sunday night. A short time later, McVey and Colby R. Kronholm, 21, also formerly of Greenville, were arrested together and charged with murder, according to the Los Angeles County district attorney’s office.

McVey also faces a gun charge. The two were being held Thursday on $1 million bail.

“[McVey] is a student, but he is not currently enrolled for the spring semester,” Robert King, California Maritime Academy director of public affairs and communications, said Thursday.

The school is in Vallejo, north of San Francisco. Spring semester classes started Monday.

King declined to say if McVey, a Greenville High School graduate and former Maine Maritime Academy student, had been involved in any disciplinary problems at the school.

Both McVey and Kronholm, who had moved together from Greenville to California in the fall, are being held at the Inmate Reception Center on Bauchet Street in Hollywood. Their Wednesday arraignment was continued until Jan. 21, according to the Los Angeles County district attorney’s office.

The shooting was reported about 11:55 p.m. Sunday and witnessed by an off-duty Los Angeles police officer who chased down the two fleeing suspects and helped capture them, according to a news release issued by the district attorney’s office.

“Prosecutors said McVey is suspected of smashing car windows in the 1600 block of North Cahuenga Boulevard on Jan. 4. Shortly thereafter, McVey allegedly shot a man in his 50s multiple times,” according to the statement.

The man, who is black and about 50 to 60 years old, was not carrying identification and died from his wounds later at an area hospital, officials say.

Attempts to reach McVey’s family this week have not been successful. Kronholm’s father, Boyd Kronholm, who is deputy superintendent of operations at Mountain View Youth Development Center in Charleston, declined on Thursday to answer questions, including if he had spoken to his son.

“We have no comment at all,” he said.

Both former Greenville men have had minor brushes with the law in Maine.

Kronholm was convicted in Piscataquis County of theft in 2011, and McVey was convicted in Piscataquis County of refusing to submit to arrest, transporting liquor by a minor, violating conditions of release and operating a vehicle with a suspended or revoked driver’s license, all from 2011, according to BDN archives.

An assistant for Greenville Consolidated School district Superintendent David Morrill said staff and teachers remember both former students, but she would not elaborate. A message left for Morrill was not returned.

Kronholm played on Greenville High School’s soccer team, participated in track and field and cross country and made the honor roll as a freshman, according to previous Bangor Daily News reports.

McVey spent at least three years on Greenville’s ski team and also made the honor roll twice when he was a sophomore, the BDN archives state.