Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

A doctor who had lost his job at a New York City hospital opened fire with an assault rifle inside the building on Friday, killing another physician and wounding six other people before taking his own life in a burst of apparent workplace-related violence, officials said.

The gunman, wearing a white medical lab coat, stalked two floors of the Bronx-Lebanon Hospital Center, in the New York borough of the Bronx, and tried to set himself on fire before police searching the building found him dead of a self-inflicted gunshot, Police Commissioner James O’Neill said.

One female physician was shot to death, and six other people were wounded, five seriously, including one who was shot in the leg, O’Neill said at a news conference.

Mayor Bill de Blasio characterized the shooting as an “isolated incident” that appeared to be “a workplace-related matter.” He said that it was “not an act of terrorism.”

“One doctor is dead, and there are several doctors who are fighting for their lives right now amongst those who are wounded,” de Blasio told reporters. “This is a horrific situation unfolding in the middle of a place that people associate with care and comfort.”

O’Neill said the gunman was armed with an assault rifle.

Neither the mayor nor police immediately identified the suspect or any of the victims. O’Neill said the gunman was a former employee of the 972-bed hospital.

Bronx Borough President Ruben Diaz, in an interview with WABC News, identified the gunman as Dr. Henry Bello and said he had been fired by the hospital. Other media reports said Bello was 45 years of age.

The New York Times and the New York Daily News reported, citing unnamed sources, that Bello had resigned from the hospital rather than face termination over accusations of sexual harassment. (Reuters)

See more news-related photo galleries and follow us on Yahoo News Photo Twitter and Tumblr.

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

NYPD officers stand guard outside the Bronx-Lebanon Hospital as they respond to an active shooter north of Manhattan in New York on June 30, 2017. (Eduardo Munoz Alvarez/AFP/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Onlookers take photos outside Bronx Lebanon Hospital where a gunman opened fire and then took his own life there, Friday, June 30, 2017, in New York. The gunman, identified as Dr. Henry Bello who used to work at the hospital, returned with a rifle hidden under his white lab coat, law enforcement officials said. (AP Photo/Mary Altaffer)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Officials are gathered outside Bronx Lebanon Hospital Center after reports of a shooting, Friday, June 30, 2017, in New York. (AP Photo/Julio Cortez)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police officers with the Forensics Unit leave Bronx Lebanon Hospital after a gunman opened fire and then took his own life there, Friday, June 30, 2017, in New York. The gunman, identified as Dr. Henry Bello who used to work at the hospital, returned with a rifle hidden under his white lab coat, law enforcement officials said. (AP Photo/Mary Altaffer)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Those still inside the building peek out the windows after a shooting killing one and wounding six others at Bronx Lebanon Hospital Center Friday, June 30, 2017, in New York. (AP Photo/Michael Noble)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

A heavily armed police officer stands outside Bronx Lebanon Hospital after a gunman opened fire and then took his own life there on Friday, June 30, 2017. The gunman, identified as Dr. Henry Bello who used to work at the hospital, returned with a rifle hidden under his white lab coat, law enforcement officials said. (AP Photo/Mary Altaffer)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

This Friday, June 30, 2017 photo released by the New York Police Department shows the AM-15 assault rifle used by Dr. Henry Bello in a shooting at Bronx Lebanon Hospital in New York. (NYPD via AP)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police officers take security measures outside the Bronx-Lebanon Hospital after a gunman attack in New York, United States on June 30, 2017. At least one person was killed Friday when a gunman opened fire inside a New York City hospital, according to media reports. (Volkan Furuncu/Anadolu Agency/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police officers take security measures outside the Bronx-Lebanon Hospital after a gunman attack in New York, United States on June 30, 2017. At least one person was killed Friday when a gunman opened fire inside a New York City hospital, according to media reports. (Volkan Furuncu/Anadolu Agency/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police officers take security measures outside the Bronx-Lebanon Hospital after a gunman attack in New York, United States on June 30, 2017. At least one person was killed Friday when a gunman opened fire inside a New York City hospital, according to media reports. (Volkan Furuncu/Anadolu Agency/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police officers take security measures outside the Bronx-Lebanon Hospital after a gunman attack in New York, United States on June 30, 2017. At least one person was killed Friday when a gunman opened fire inside a New York City hospital, according to media reports. (Volkan Furuncu/Anadolu Agency/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

A policeman directs people next to Bronx-Lebanon Hospital as they respond to an active shooter north of Manhattan in New York on June 30, 2017. (Eduardo Munoz Alvarez/AFP/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

A woman and a child walk past police outside the Bronx-Lebanon Hospital as they respond to an active shooter north of Manhattan in New York on June 30, 2017. (Timothy A. Clary/AFP/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police walk past an emergency services vehicle next to Bronx-Lebanon Hospital as they respond to an active shooter north of Manhattan in New York on June 30, 2017. (Timothy A. Clary/AFP/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

A hospital staff member talks on his phone as he walks past police outside the Bronx-Lebanon Hospital as they respond to an active shooter north of Manhattan in New York on June 30, 2017. (Timothy A. Clary/AFP/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police stand guard outside the emergency room of the Bronx-Lebanon Hospital as they respond to an active shooter north of Manhattan in New York on June 30, 2017. (Eduardo Munoz Alvarez/AFP/Getty Images)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

In this image taken from video, New York Police Department Emergency Services officers stand by their armored vehicle outside Bronx Lebanon Hospital in New York, after a gunman opened fire there on Friday, June 30, 2017. (AP Photo/Joseph Frederick)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

A woman is escorted by officers in plainclothes near the Bronx Lebanon Hospital in New York after a gunman opened fire there on Friday, June 30, 2017. (AP Photo/Julio Cortez)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

NYPD Spokesperson Mike Debonis before a press conference at the scene of shooting killing one and wounding six others at Bronx Lebanon Hospital Center Friday, June 30, 2017, in New York. (AP Photo/Michael Noble)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police vehicles converge on Bronx Lebanon Hospital in New York after a gunman opened fire there on Friday, June 30, 2017. (AP Photo/Mary Altaffer)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

A woman is escorted by officers in plainclothes near the Bronx Lebanon Hospital Center after reports of a shooting, Friday, June 30, 2017, in New York. (AP Photo/Julio Cortez)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

In this image taken from video, officers from the New York Police Department’s Emergency Services Unit hold a conversation by an armored vehicle outside Bronx Lebanon Hospital in New York, after a gunman opened fire there on Friday, June 30, 2017. (AP Photo/Joseph Frederick)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police vehicles converge on Bronx Lebanon Hospital in New York after a gunman opened fire there on Friday, June 30, 2017. The gunman, identified as Dr. Henry Bello who used to work at the hospital, apparently took his own life after shooting others, authorities said. (AP Photo/Julio Cortez)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Officials are gathered outside Bronx Lebanon Hospital in New York after a gunman opened fire there on Friday, June 30, 2017. The gunman, identified as Dr. Henry Bello who used to work at the hospital, returned with a rifle hidden under his white lab coat, law enforcement officials said. (AP Photo/Julio Cortez)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Fire Department rescue workers head towards the scene after an incident in which a gunman fired shots inside the Bronx-Lebanon Hospital in New York City, June 30, 2017. (Brendan Mcdermid/Reuters)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police and Fire Department vehicles line the streets after an incident in which a gunman fired shots inside the Bronx-Lebanon Hospital in New York City, June 30, 2017. (Brendan Mcdermid/Reuters)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

In this image taken from video, emergency personnel converge on Bronx Lebanon Hospital in New York, after a gunman opened fire there on Friday, June 30, 2017. (AP Photo/Joseph Frederick)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

One victim dead in Bronx hospital shooting; gunman also dead. (WABC-TV)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police confirmed the gunman is down, but did not provide any other details about him. Sources said he may be a former hospital employee. (WABC-TV)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Officials confirm shots were fired inside Bronx-Lebanon Hospital Center in the Bronx on Friday afternoon. (WABC-TV)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Officials confirm shots were fired inside Bronx-Lebanon Hospital Center in the Bronx on Friday afternoon. (WABC-TV)

Police respond to shooter inside Bronx-Lebanon Hospital Center in NYC

Police confirmed the gunman is down, but did not provide any other details about him. Sources said he may be a former hospital employee. (WABC-TV)