The NYPD responded to three separate shootings Thursday that left a 78-year-old man dead and two men injured, officials said.

The first shooting occurred at 3:30 p.m., when two police officers responded to a burglary call on Lewis Avenue in Brooklyn, police said.

According to video captured by police body-worn cameras, officers knocked on an apartment door and a man answered, concealing a firearm with his left arm, Chief of Patrol Jeffrey Maddrey said at a news conference.

Maddrey said that when officers saw the firearm, they yelled at the man to release the weapon. The man pointed the gun at the officers, who then fired their weapons, he said.

The man was hit numerous times in the body and was later pronounced dead at a hospital.

"This is a tragic situation. Officers were put in a life or death situation, investigating a crime of progress," he said. "And hopefully as of — our investigative units — our fierce investigative units and our detective squad, as they start to unravel exactly what happened here."

A second shooting occurred around 3:40 p.m. on 164th Street in Queens, where the NYPD responded to a man, identified by police on Friday as Richard Moncrieffe, 59, of South Jamaica, holding a knife in front of First Presbyterian Church.

Police said a woman notified a church security guard that Moncrieffe was holding the knife. When the guard approached him, Moncrieffe stabbed the guard in the stomach, according to police.

Authorities said that when police arrived at the scene, they encountered Moncrieffe with a knife at the staircase of the church, where he waved at the officers and proceeded to approach them. Police demanded he release his weapon and fired two shots at him when he did not comply, the NYPD said.

Police said that the responding supervisor used a taser to remove the knife from Moncrieffe's hands.

He was transported to a nearby hospital, along with the security guard and officers who suffered tinnitus. Moncrieffe faces charges including assault, two counts of menacing a police officer, a separate menacing count and three counts of criminal possession of a weapon, police said.

His attorney information wasn't immediately available. 

"I just want to say that the actions from the security guard from the First Presbyterian Church, an administrative building that was occupied by many people, he did a great job in confronting the individual with the knife and stop maybe this male from getting into that location and causing more damage," Chief of Patrol John Chell said at a news conference.

According to authorities, the third shooting happened around 7:55 p.m. between the 238th Street and 231st Street stations in the Bronx, where officers from the 50th Precinct said they saw a man with a handgun.

Police received 911 calls of a man waving a gun around a crowd that included children, NYPD Chief of Transit Michael Kemp said at a press conference Thursday night in the Bronx.

According to Kemp, officers arrived at the station and asked the man to give up his gun, but he refused.

Kemp said the man then started walking southbound on the train catwalk parallel to the train tracks towards the next stop, 231st Street. According to Kemp, he was followed by officers moving southbound from the 238th Street station, and was also eventually met by other officers who were walking on the catwalk from the 231st Street station.

Officers continued to order the man to drop the firearm, which he pointed at the officers multiple times, according to officials.

Eventually, one officer fired a shot after the man pointed the gun at them again, officials said.

Police said the man was shot in the left hand and taken to St. Barnabas Hospital, where he was in stable condition.

The gun was recovered at the scene, Kemp said.