A 36-year-old married police officer and three other people were shot and killed by a crazed gunman who stormed a swanky Midtown skyscraper early Monday evening — sparking mayhem in Midtown before turning the gun on himself, police said.

The 27-year-old maniac, identified as Las Vegas resident Shane Tamura, barged into the 44-story building — which houses Blackstone and the NFL headquarters — armed with a rifle and opened fire at around 6:30 p.m. during the evening rush, cops and law enforcement sources told The Post.

The suspected shooter is seen entering the Manhattan building with a rifle. Obtained by NY Post

The man is seen wearing a blazer, button down and dark sunglasses outside the building, where one civilian and one cop were critically injured. Obtained by NY Post

Didarul Islam was identified as the cop killed in the ambush. NYPD

Sources identified Shane Tamura as the shooter. Obtained by the NY Post

Tamura, who authorities said had a “documented mental health history,” unleashed his rampage after setting foot in the lobby, first gunning down officer Didarul Islam, NYPD Commissioner Jessica Tisch said at a Monday evening press conference.

Tamura then fatally shot a woman who was hiding behind a pillar as he continued “spraying” the lobby of 345 Park Avenue with bullets, Tisch said.

The rifle used in the shooting is a Palmetto State Armory AR15. Obtained by the NY Post

A witness said a large number of shots were fired at 324 Park Avenue. William C Lopez/New York Post

Tamura’s body seen after taking his own life following the shooting Monday. Obtained by NY Post

The lone gunman didn’t stop there as he marched to the elevators and pumped a bullet into a security guard who took cover behind a desk, police said.

In a chilling moment of apparent mercy, the wacko spared the life of a woman who came face to face with the killer as she exited an elevator, according to Tisch.

Tamura then took the lift up to the 33rd floor, home to Rudin Management offices, where he “fired as he traveled,” striking and killing one person before shooting himself in the chest.

Tamura was seen splayed out on the ground, apparently already dead, in a shocking photo obtained by The Post.

Another man was also shot in the lobby and survived his injuries.

Here is the latest on the NYC mass shooting:

A witness on the first floor recalled that “it sounded like a barrage of shots …Like an automatic weapon. Like a high-capacity weapon.”

“I was at work and this guy came in with an assault rifle and started shooting,” a man, who was gasping for air outside 3, told The Post shortly after the bullets started flying.

Tamura launched the mass shooting after driving across the country, police said.

He crossed into the Big Apple from New Jersey earlier Monday afternoon then drove to 345 Park Avenue, parking between 51st and 52nd streets, according to Tisch.

Chilling images showed the gunman calmly strolling across the building’s entry plaza with an assault rifle at his side before carrying out the carnage.

NYC Midtown shooting timeline

  • Reports of the shooting at 345 Park Avenue started coming in at around 6:28 p.m.
  • The shooter, Shane Tamura, 27, was seen on surveillance footage getting out of a double parked black BMW between 51st and 52nd Street, with an M4 rifle.
  • He then walks towards the skyscraper, enters the lobby and turns right, where he shot police officer Didarul Islam, 36, dead.
  • Tamura then gunned down a woman cowering behind a pillar in the lobby, as he sprayed more bullets and walked toward the elevator bank — where he shot dead a security guard crouching at his desk.
  • One more man reported being shot and injured in the lobby. He was in critical but stable condition.
  • The gunman allowed a woman to walk out of the elevators unharmed, before heading up to the 33rd floor, where building owner Rudin Properties’ offices are located, “and begins to walk the floor, firing as he traveled.”
  • One man was shot and killed on that floor.
  • “He then proceeds down a hallway and shoots himself in the chest,” ending his rampage.
  • It’s unclear how long the mayhem lasted. Tisch posted on X at 7:52 p.m.: “the scene has been contained and the lone shooter has been neutralized.”

Footage posted to social media shows bystanders running for their lives outside the building and workers were also later seen filing out of the high-rise with their hands up.

Sources said Islam, the officer, was shot at in the back and died at a hospital.

With sirens blaring in the background, three cops dragged an injured woman in a dress away from the front of the building, according to disturbing footage. 

Tamura is believed to have acted alone.

“His motives are still under investigation. We are working to understand why he targeted this particular location,” Tisch said.

NYPD responding to calls about an active shooter on at 324 Park Avenue on Monday. William C. Lopez

The suspect was discovered dead on the 33rd floor of the skyscraper. William C Lopez/New York Post

Police recovered Tamura’s bloodstained long gun, a Palmetto State Armory AR-15 assault rifle.

A vehicle with Nevada plates registered to Tamura was found at the scene.

Cops searched his car and found a rifle case with rounds, a loaded revolver, extra ammunition, magazines, a backpack and medication prescribed to him.

Sources said Tamura was a security guard at a Las Vegas casino and didn’t show up for work Sunday morning, setting off alarm bells.

The gunman had a concealed firearms permit from Las Vegas with a 2027 expiration date, according to a picture of the license obtained by The Post.

Photos posted to X show who is purported to be frantic Blackstone employees stacking couches and other furniture in front of an office entrance during Tamura’s rampage.

People left the building with their hands raised as the scene was evacuated. William C Lopez/New York Post

Oleksandr Stupak, 30, was standing on the street nearby when he heard gunshots ring out — and watched in shock as armed police flooded the building

“I was on the one block away and I heard shots being fired and then a bunch of police, they came to neutralize it,” he said. “I went to the Citizen app and it says active shooting. A lot of police started to come. I mean. [It’s ] crazy.”

The blocks surrounding the building were flooded with police cars, fire engines, ambulances and first responders, while helicopters filled the sky overhead.

And footage from the scene showed officers hastily performing CPR on an apparent victim after hauling his limp body in the middle of the street.

The officer who was killed was from the 47th Precinct. William C Lopez/New York Post

The FBI and bomb squad has also responded to the scene.

Mayor Adams has been briefed on the incident, and cautioned New Yorkers to avoid the area.

The 36-year-old slain officer was from the 47 Precinct, but was working a paid detail for the owner of the building, Rudin Properties, at the time of the shooting, sources said.

He’s been on the force since December 2021 and leaves behind a wife who was pregnant with their third child, according to a high ranking police source.

Meanwhile, two apparent protesters, including one who yelled, “Free Palestine, I’m not the shooter,” were arrested outside of the building around the time of the shooting.

Additional reporting by Tina Moore and Lydia Moynihan

This is a breaking story. Please check back for updates.