The man accused of killing a New York City Police Department officer was captured on surveillance camera approaching the marked police command vehicle just moments before the fatal shooting early Wednesday.

The surveillance footage recovered from a nearby store in the Bronx shows the suspect, identified as 34-year-old Alexander Bonds, come near the vehicle’s passenger side door, where police sources say Officer Miosotis Familia was sitting and writing in her memo book.

The video then shows several officers arriving at the scene to help Familia. An ambulance arrives to transport her to a nearby hospital, where the 48-year-old mother of three was pronounced dead at 3:37 a.m. ET. Familia was a 12-year veteran assigned to the New York City Police Department’s 46th Precinct’s anti-crime unit.

PHOTO: A security guard stands at attention as New York Police Department officer Miosotis Familia is memorialized before the start of a baseball game between the New York Yankees and the Toronto Blue Jays in New York, July 5, 2017. Kathy Willens/AP
A security guard stands at attention as New York Police Department officer Miosotis Familia is memorialized before the start of a baseball game between the New York Yankees and the Toronto Blue Jays in New York, July 5, 2017.more +

Familia’s partner, who was also inside the vehicle, radioed for assistance while other officers chased after the suspect, who took off on foot. As the officers confronted the suspect, he drew a revolver, and the officers shot and killed him, according to New York City Police Department Commissioner James P. O’Neill.

The .38 caliber revolver recovered from the crime scene was stolen in West Virginia in 2013, police sources told ABC News.

Another person, believed to be an innocent bystander, was struck by a bullet during the confrontation. The individual was hospitalized with nonlife-threatening injuries, according to O’Neill.

PHOTO: Local resident Maria Ramos places a candle at a makeshift memorial outside the New York City Police Departments 46th precinct after a gunman fatally shot a female officer in an unprovoked attack in the Bronx, New York, on July 5, 2017.Mike Segar/Reuters
Local resident Maria Ramos places a candle at a makeshift memorial outside the New York City Police Department’s 46th precinct after a gunman fatally shot a female officer in an unprovoked attack in the Bronx, New York, on July 5, 2017.more +
PHOTO: A police officer lights a candle at the entrance to the 46th Precinct in the Bronx borough of New York, July 5, 2017.Seth Wenig/AP
A police officer lights a candle at the entrance to the 46th Precinct in the Bronx borough of New York, July 5, 2017.more +

Familia’s partner was not injured in the attack.

One day after the tragic shooting, the police commissioner reassured hundreds of NYPD recruits at their swearing-in ceremony that they had “absolutely” made the right career choice.

PHOTO: Swearing-in ceremony for new NYPD officers, July 6, 2017, in New York City.WABC
Swearing-in ceremony for new NYPD officers, July 6, 2017, in New York City.

O’Neill said today the fatal shooting was “a real blow” to the police department, hours after its officers had ensured the city’s safety on the Fourth of July holiday.

“The work of Officer Miosotis Familia is not finished,” ONeill said, telling the recruits that it is their job as cops to finish it.

ABC News’ Matt Foster, Aaron Katersky, Rachel Katz and Emily Shapiro contributed to this report.