By Holly Yan and Dana Ford, CNN
updated 6:52 AM EST, Tue November 5, 2013

(CNN) -- The gunman who opened fire at a New Jersey mall Monday night is dead after holing up in a back room at the mall and shooting himself in the head, a local prosecutor said.

Richard Shoop's body was found at 3:20 a.m. Tuesday in an obscure part of Westfield Garden State Plaza mall, hours after he fired at least six bullets without striking anyone in the massive shopping center.

The shooting sent panic through the mall and set off a frenzied hunt for the gunman. In the early hours of the search, officials weren't sure whether the shooter was still inside or outside the 2-million-square-foot building.

"We believe that he went in there with the intent to either be shot by police, which we call suicide by cop, or to take his own life, which ultimately he did," Bergen County Prosecutor John Molinelli said Tuesday morning.

LINK