BOSTON (AP) — Two men charged with conspiring to help the Islamic State group are expected in court for a detention hearing.

A federal grand jury indicted David Wright, of Everett, Massachusetts, and Nicholas Rovinski, of Warwick, Rhode Island, on Thursday.

READ MORE: Former Fall River Mayor Jasiel Correia Sentenced To 6 Years In Prison

Prosecutors are expected to ask at Friday’s detention hearing that they be held without bail while awaiting trial.

Both men were charged last week with conspiring to provide material support to terrorists by plotting with Boston terror suspect Usaamah Rahim to behead blogger Pamela Geller.

READ MORE: Gift Of Over $20 Million For Boston's Esplanade Would Fund New Visitors Center, Outdoor Spaces
Usaamah Rahim in his 2007 Brookline High School yearbook photo. (WBZ-TV)

Usaamah Rahim in his 2007 Brookline High School yearbook photo. (WBZ-TV)

Rahim was killed by investigators who say Rahim lunged at them with a military-style knife. Rahim’s family has questioned that account.

Authorities say the three men initially planned to kill Geller, but Rahim called Wright on June 2 and told him he wanted to kill police officers.

MORE NEWS: LOOK: Boston Street Becomes Snowy Set For Christmas Movie Shoot

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.