A detective with the Passaic County Prosecutor's Office took his own life inside his home on Tuesday night, authorities said.

Passaic County Prosecutor Camelia M. Valdes said the police and a county SWAT team went to the home of Detective Sergio Mella on Grandview Avenue around 6 p.m. after learning he was "in distress." Police entered the home after unsuccessfully communicating with him and found what appeared to be a self-inflicted gunshot wound from his service weapon according to Valdes.

No one else was in the home or injured in the incident according to Valdes, who said Mella had worked for the Prosecutor's office since 2007.

NorthJersey.com reported neighbors were unclear as to what was going on when police arrived and used a flash grenade to enter the home with a large bang. About a dozen members of law enforcement officers, many in uniform, came to the house and were seen hugging each other and near tears.

"We extend our deepest condolences to the Mella family," Valdes wrote in an email.

Sayreville Police officer Matt Kurtz committed suicide in March. He was found in his own car parked next to the abandoned Amboy movie theater on Route 9.

Last year, 19 police killed themselves in New Jersey. Here's some of what can be done to help.

Related video: 

Sign up for the NJ1015.com Newsletter

Get the best of NJ1015.com delivered to your inbox every day.