WARWICK, R.I. (WPRI) — An investigation spanning three communities has led to the capture of two suspects in a double homicide last month in Providence.

At a news conference Thursday, Providence police officials announced they raided two homes concurrently: one in Warwick and one in Norton, Mass.

Providence homicide suspect Miguel Perez
Miguel Perez (Courtesy: R.I. Dept. of Corrections)

Just before 6:30 a.m., officers in protective gear were seen entering a home on Highland Avenue, right off Post Road. A man who lives there, 29-year-old Miguel Perez, was taken into custody on a murder charge.

At the same time, officers arrested 28-year-old Tyler Freeman of Norton, who was also charged with murder after being questioned, according to police.

Both men are due to appear in court on Friday.

Police allege the two men are responsible for the shooting that claimed the lives of 29-year-old Brian Fernandez and 30-year-old Sreylakh Ros. They were found dead inside a parked pickup truck on Hathaway Street just after 12 a.m. on Saturday, Oct. 28.

WATCH: Vigil honoring the two victims in Providence (Story continues below.)

Police said the two victims were from Pawtucket and had four children between them, who at last check were in the care of a family member.

“My condolences again to the families [of the victims], but I’ll tell you that it’s also a good feeling to be able to bring justice to the families for this violent crime,” Providence Police Chief Oscar Perez said during Thursday’s briefing.

Major David Lapatin said the shooting was targeted, but police are still investigating who pulled the trigger and why. He said it had nothing to do with drugs or money.

“The driver was drawn there by a falsehood. That’s all I’ll say. It was set up to murder him,” Lapatin added.

According to Lapatin, Providence’s investigative unit and new digital intelligence unit were crucial in making the arrests. He also said they got help from the U.S. Secret Service.

Perez is also being charged by Warwick police with possession of narcotics with intent to deliver.

Another man, 29-year-old Vathna Keo, was also arrested during the raid in Warwick, but not in relation to the double murder. Police said he was charged with carrying a pistol without a license – other weapons prohibited (ghost gun), possession of firearms by certain persons prohibited, and possession of large-capacity feeding devices.

Police towed a vehicle away from the scene in Warwick, which has since cleared.