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: Family Of Woman Killed In Weymouth Hit-And-Run Wants 'Closure And Justice'

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: Harvard Professor Launches New Search For Extraterrestrial Life
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: Is My Loss Of Smell From COVID Going To Be Permanent? Dr. Mallika Marshall Answers Your Questions

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.