Prosecutors detail decapitation plot, a change in plans Say slain man, nephew planned to behead police officers; authorities show community leaders video of shooting in effort to dispel rumors ← Related Article Visit The Boston Globe Share on Twitter Share on Facebook Comment on this Scroll to top of page The man shot when he approached the officer and FBI agent with a machete and refused to back down, officials said. Jane Flavell Collins/AP David Wright (second from left) is depicted in a courtroom sketch standing with his attorney Jessica Hedges during a hearing in federal court in Boston. Jessica Rinaldi/Globe Staff A US Marshal carried an automatic weapon outside of federal court in Boston. Jonathan Wiggs/Globe Staff Mirzeli Hernandez said she would sometimes take the same bus to work as her neighbor Usaama Rahim , was shot and killed in a confrontation with the Joint Terrorism Task Force. Staff/Photographer Jonathan Wiggs Topic: Reporter Jessica Rinaldi/Globe Staff Attorney Jessica Hedges, who is representing David Wright, spoke outside of the courthouse. Jessica Rinaldi/Globe Staff Friends and family members of David Wright left the Federal Courthouse after the hearing. WBZ-TV Video screengrab of David Wright being taken into custody at his home in Everett on June 2. Scott Eisen for The Boston Globe David Wright lived in this Linden Street building in Everett. David L. Ryan/Globe Staff Community members arrived at Boston Police Headquarters Wednesday to view video footage of the shooting in Roslindale. Left to right: friend Mu'alim Abdullah, a friend of the Rahim family; Immam Abdullah Faaruuq of the Mosque for the Praising of Allah; and Karim Rahim, brother of the shooting victim. David L. Ryan/Globe Staff Community members and police officials at Boston Police Headquarters. David L. Ryan/Globe Staff Community members and law enforcement officials watched the video together. David L. Ryan/Globe Staff Community members prayed before viewing the video. David L. Ryan/Globe Staff Boston Police Commissioner William Evans and community leaders talked at a press conference after the meeting. Scott Eisen for The Boston Globe Evidence was covered and surrounded by police tape outside of CVS on Washington Street in Roslindale after a man was shot and fatally wounded by a Boston police officer and an FBI agent. Scott Eisen for The Boston Globe FBI agents were on the scene. Usaama Rahim of Boston was the man who was shot, according to Ibrahim Hooper, a spokesman for the Council of American-Islamic Relations. Scott Eisen for The Boston Globe According to Boston police, Joint Terrorism Task Force members who had been following the man stopped him near the CVS parking lot on Washington Street in Roslindale at 6:59 a.m. The man, who was on foot, then allegedly armed himself with a large knife. Scott Eisen for The Boston Globe The man was shot when he approached the officer and FBI agent and refused to back down, officials said. A police official (pictured) looked at a knife under a tarp during the investigation. Scott Eisen for The Boston Globe Police lifted a large, black knife in front of the CVS. Scott Eisen for The Boston Globe Police officials crowded in front of the CVS. Scott Eisen for The Boston Globe Boston Police Commissioner William Evans (center) talked to media, flanked by Mayor Martin Walsh (right), and FBI agent Vincent Lisi (left). Scott Eisen for The Boston Globe Suffolk County District Attorney Daniel Conley was on the scene. Scott Eisen for The Boston Globe Police set up a tarp and crime scene tape around the evidence. Barry Chin/Globe Staff Vincent B. Lisi, head of the Boston FBI office, would not disclose any specifics about why Rahim was being investigated during a press conference at Boston Police headquarters. Boston Police Department At the news conference, Boston Police displayed a large photograph of the knife allegedly wielded by Usaama Rahim before he was shot and killed in Roslindale. Including the handle, the knife appeared to be about a foot long. Josh Reynolds for The Boston Globe Everett police officers provided support outside a house where FBI agents were investigating. Josh Reynolds for The Boston Globe A suspect from Everett, David Wright, was arrested Tuesday night and was slated to appear in federal court in Boston on Wednesday.