“A short time later, police received reports of an armed carjacking by two males in the area of Third Street in Cambridge,” the release stated. “The victim was carjacked at gunpoint by two males and was kept in the car with the suspects for approximately a half hour. The victim was released at a gas station on Memorial Drive in Cambridge. He was not injured.”

As police pursued the suspects, the two men allegedly threw explosives from the car, and there was a shootout with police, during which an MBTA officer was seriously injured.

Police fatally shot the man identified by the FBI as Suspect No. 1, according to officials, and are searching for Suspect No. 2, who was shown in photos released by the FBI wearing a white cap. The second suspect is considered armed and dangerous.

[bdntwitter]

Procopio said the motive for the shooting was not known and the investigation would be led by the Middlesex County District Attorney’s Office after the death of the officer.

FBI Boston Special Agent Greg Comcowich said the office was referring questions about the shooting to Cambridge and MIT police. “I can tell you that we are aware of it however.”

The shots on Thursday night were reported near Building 32, MIT said in an emergency statement warning students to “stay indoors and away from the area.”

MIT police representatives could not be reached immediately for comment.

(Additional reporting by Alex Dobuzinskis in Los Angeles, David Bailey in Minnesota and Kevin Gray in Miami; Editing by Mary Milliken and Lisa Shumaker)