It happened shortly after 3 p.m. Sunday. Two officers were on duty at the L Train platform at Van Sinderen Avenue and Sutter Avenue in Brownsville.
NOTE: Click here for the latest in the investigation
It started at the entrance, when, police say, the two officers assigned to transit detail followed a 37-year-old man up the stairs who hadn't paid his fare.
"The officers are asking him to stop. The male is refusing to stop at a certain point on the platform. The male, he mutters the words, 'I'm going to kill you if you don't stop following me,'" said NYPD Chief of Department Jeffrey Maddrey.
That verbal threat would become a physical one as the suspect pulled a knife from his pocket.
"They give numerous commands. The male basically challenges the officers, 'No, you're going to have to shoot me.'" Maddrey added.
The confrontation moved inside a train that had just pulled into the station and that's where police did open fire after tasering the suspect didn't work.
RELATED | Fighting subway crime remains challenge for mayor, NYPD and MTA
Fighting subway crime remains challenge for mayor, NYPD and MTA
The bullets that flew inside the car and onto the platform struck the suspect and two passengers - a 26-year-old woman and a 49-year-old man - as well as a 40-year-old officer.
The officer was rushed to Brookdale Hospital, where the mayor and new interim police commissioner paid him a visit. They blamed the knife-wielding suspect they called a 'career criminal' with more than 20 arrests.
"Make no mistake, the events that occurred on the Sutter Avenue Station platform with the results of an armed perpetrator who was confronted by officers doing the job we asked them to do," said Interim NYPD Commissioner Thomas Donlon.
The 37-year-old suspect was critically injured and is hospitalized at Kings Hospital/Brookdale.
The 49-year-old passenger was shot in the head during the incident and remains in critical condition.
A 26-year-old woman was grazed by a bullet and remained hospitalized early Monday.
Donlon says this is what the NYPD and MTA have been asking officers to do - to stop the fare evasion that is costing billions of dollars.
Detectives from the department's Force Investigation Division are going through video to determine the trajectory of those bullets. It is possible that the round that struck the officer was his own and ricocheted off the inside of the train.
The officer has been with the NYPD for 10 years and is expected to recover. Meanwhile, the suspect is in critical condition with charges pending.
ALSO READ | Exclusive: Father outraged after 5-year-old girl left in van for 3 hours in Queens
Father outraged after 5-year-old daughter left alone in van in Queens
----------
* Get Eyewitness News Delivered
* More Manhattan news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube