BOSTON (CBS) – A Warwick, Rhode Island man has been arrested in connection with an alleged terror plot in Boston. The FBI says 24-year-old Nicholas Rovinski was arrested Thursday night.

The charges against Rovinski will be revealed when he appears in Federal Court in Boston on Friday.

READ MORE: Plainville Firefighter In Coma After Contracting COVID-19

Rovinski is the third man named in connection with the investigation. Authorities searched his home on Aspinet Drive in Warwick after the fatal shooting of Usaamah Rahim June 2 in Boston’s Roslindale neighborhood.

READ MORE: How To Get An Appointment When COVID Vaccines Open For Mass. Residents 16+
Usaama Rahim (L) and David Wright (R) (WBZ-TV)

Usaamah Rahim (L) and David Wright (R) (WBZ-TV)

Officials say they tried to question Rahim after they intercepted a message suggesting he planned to carry out an attack on police officers. Rahim allegedly talked about beheading anti-Muslim blogger Pamela Geller before deciding to target police.

Authorities say Rahim, David Wright of Everett, and a third person met on a beach in Rhode Island to discuss their plans. Wright was arrested the same day Rahim was shot and killed.

MORE NEWS: Vehicle Inspections Will Resume At Most Massachusetts Locations Saturday

Officials released video of the shooting, saying Rahim was carrying a large knife and lunged at officers who approached him in a CVS parking lot.