Cody Dials, Randy White and Zachary Perrine each face first-degree murder charges in the May 7 shooting of David Rhea.

Rhea, 39, was found shot in his abdomen at 2:45 a.m. inside his home at 5800 94th Ave. N. He was taken to Northside Hospital, where he died.

Detectives found that a large amount of cash was missing from Rhea's home. They determined that Dials, White and Perrine had come to Rhea's home to steal the cash, officials said.

Police obtained arrest warrants Friday for all three men. Dials, 18, and White, 19, were arrested Tuesday morning at a St. Petersburg motel, police said. Perrine, 21, was already in the Pinellas County Jail on unrelated charges of armed robbery, home invasion and drug possession.

Police did not say specifically what led them to the three men. Police spokesman Sgt. Brian Unmisig said the arrests were based on "the evidence collected at the scene and countless interviews with countless people."

White's arrest record includes charges of domestic battery and loitering and prowling, according to state records. He was arrested as a juvenile in 2010 on a charge of leaving the scene of a crash with property damage.

Dials made the news at age 10, in 2004, when he accidentally shot himself in the leg while playing with a gun at a friend's house in Pasco County. Since then, he has been arrested on charges of disrupting a school function, burglary and grand theft with a firearm, according to state records.

Dials' Facebook page features a posting from May 26 of his jail mug shot, taken during his arrest the previous day on a charge of driving without a license.

Perrine's arrest history includes a separate case from 2011 for a charge of home-invasion robbery, according to state records. He also has several prior drug-related arrests.

During the investigation of Rhea's killing, detectives determined that Perrine also committed a bank robbery May 25 at the Bank of America at 10200 66th St. N, police said. He has been charged with that robbery.