Two men from Maine are behind bars charged with murder in connection with the shooting death of a homeless man in California, according to Los Angeles police Officer Jack Richter.

Troy T. McVey, 22, and Colby R. Kronholm, 21, of Greenville were arrested early Monday and are being held on $1 million bail, Richter said Tuesday.

The shooting was reported at 11:55 p.m. Sunday in the area of Hollywood and North Cahuenga boulevards in Hollywood, a district in central Los Angeles. Police were able to find McVey and Kronholm at a nearby apartment.

“We had an off-duty police officer witness what occurred and he … directed officers to the area where they took the two individuals into custody,” the LAPD officer said.

The two are being held at the Hollywood Jail and will make their first court appearance on Wednesday, after which they probably will be transferred to the Twin Towers Correctional Facility, also located in Hollywood, Richter said.

The identity of the victim is not known, the officer said.

“The person had no identification on hand,” Richter said. “He’s approximately 50.”

Investigators are looking into the motive behind the shooting, including whether it was related to a robbery or drug deal or something else, the officer said.

“They’re trying to figure that out,” Richter said.

There are approximately 3.5 million people in Los Angeles and in 2014 just over 200 people were shot and killed, a huge decrease from a decade ago, when the annual average was 1,000, Richter said.

There is nothing in the police file about recovering the weapon, the LAPD officer said.

Both suspects have had brushes with the law in Maine.

Kronholm was convicted in Piscataquis County of theft by unauthorized taking or transfer and sentenced to spend 24 hours in jail in 2011, according to BDN archives.

McVey was convicted in Piscataquis County of refusing to submit to arrest or detention and transporting liquor by a minor in 2011. He also was convicted of violating conditions of release and operating a vehicle with a suspended or revoked driver’s license in 2011, according to BDN archives. He was ordered to spend five days in jail and pay restitution.

McVey is wearing a Maine Maritime Academy uniform in a mugshot released by the Piscataquis County Jail. His prior enrollment in the school in Castine was confirmed by an MMA spokeswoman, who said he no longer is enrolled and did not graduate.

His Facebook page states he enrolled at the California Maritime Academy in Vallejo, California, in September, but school officials in California on Tuesday could not confirm his enrollment.

Kronholm’s Facebook page says he left Maine in August to travel to California and he posted that he established residency in Vallejo on Sept. 9, 2014.