An ordeal that ended with police officers shooting a half-naked man in Queens on Sunday afternoon began just before 3pm.

The man, who is in his 30s, first crashed his car into a police car in front of the 111th Precinct in Bayside, police said. He then doused both cars in an accelerant fluid and lit his own car on fire. As police officers approached, the man, who was not wearing pants or underwear, lunged at them with a 12-inch kitchen knife.

Two police officers then fired eight gunshots, striking the man in his torso and leg. The man was transported to NewYork-Presbyterian/Queens hospital, where he remained in a stable condition Sunday night. The two officers were also transported to a hospital to be evaluated.

Police did not identify the man but said he was not previously known to the officers in the precinct.

Rodney Harrison, the Police Department’s chief of patrol, said at a news conference that it was likely the man had “some mental issues.”

Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist Show all 26 1 /26 Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-japan-2.jpg A Banksy graffiti piece showing two women in Japanese dress and a Bonsai tree Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-japan.jpg A charming Banksy piece in the Bed-Stuy neighbourhood of New York Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-nyp.jpg The New York Post claims Banksy is being hunted by the authorities Banksy/New York Post Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-mcdonalds.jpg A boy shines Ronald McDonald's shoe in a new live-action Banksy sculpture Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-mcdonalds-2.jpg Banksy has remodeled Ronald McDonald with a sneering face Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-911-2.jpg Though small in size, Banksy's tribute to 9/11 will echo across the world via social media Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-911.jpg Banksy's tribute to 9/11 in Tribeca Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-queens.jpg Banksy appropriates a quote from the film Gladiator in one of his New York pieces Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-stall.jpg Banksy set up a stall in Central Park to flog his works - but just three people took him up on the offer Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-concrete.jpg A religious figure looking pensive in Banksy's concrete confessional in Manhattan Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-sirens-2.jpg Bansky's slaughterhouse delivery truck is touring New York City for the next two weeks Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-sirens.jpg Banksy's Sirens of the Lambs, with close-ups of the screaming animals touring New York Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-beaver-2.jpg Banksy's beaver, which marks the tenth day of the artist's New York residency, gnaws on a felled 'No Parking' sign Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-beaver.jpg A close-up of Bansky's beaver, a new artwork that a group of men are stopping people from seeing unless they pay up Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-5.jpg A dog urinates on a new work by British graffiti artist Banksy on West 24th street in New York City Rex Features Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-4.jpg A dog urinates on a new work by British graffiti artist Banksy on West 24th street in New York City Reuters Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-2.jpg The latest work from street artist Banksy is seen through a chain link fence in the Lower East Side neighborhood of New York City. Banksy is in the midst of creating a month long series of pieces of street art. Getty Images Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy.jpg A woman walks by a defaced street art graffiti by elusive British artist Banksy, as part of his month-long Better Out Than In exhibit, in New York. Banksy will be attempting to host an entire show on the streets of New York during a month residency. Getty Images Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-3.jpg A piece of street art depicting a heart-shaped balloon covered in bandages, allegedly done by the street artist Banksy, is seen on in the Red Hook neighborhood of the Brooklyn borough of New York City. The piece was defaced with red spray paint shortly after being completed Getty Images Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksyheart.jpg Bansky's Brooklyn heart Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksytruck3.jpg Exterior of Banksy's All City delivery truck Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksytruck2.jpg Interior of Banksy's All City delivery truck Banksy Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist Banksy-painted-over.jpg The new Banksy has been painted over a day after it was stencilled @streetartnews/Twitter Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist Banksy-New-York-1.jpg Banksy's 'The street is in play' appears in New York City banksyny Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist Banksy-New-York.jpg Banksy's 'The street is in play' appears in New York City @AndrewBloch Is Banksy being hunted by the NYPD? Police sources at odds over whether to arrest artist banksy-new-zealand.jpg A man from Chicago buys some Banksy originals for an astoundingly low price Banksy/YouTube

In recent years, the department has tried to increase training for officers about how to handle situations involving emotionally disturbed people. But less than 12,000 of the city’s nearly 37,000 officers have gone through the training. Emergency calls for those situations have nearly doubled over the last decade, to about 179,000 last year, according to the police.

Officers are often unaware if a person is mentally ill when they respond to a call.

On 5 March police officers responding to a 911 call in Harlem shot a man, Michael Cordero, after he claimed he was armed and then lunged at them with an item in his hand that turned out to be a wallet. Mr Cordero had several previous arrests, and his family said he was being treated for schizophrenia and bipolar disorder.

Last year, the attorney general’s office began investigating the police killing of Saheed Vassell, who in April was fatally shot by officers who mistook the pipe he was holding for a gun. Mr Vassell had bipolar disorder, and his family said that police at his local precinct knew of his condition.

NYPD tackle and rescue man threatening to jump from RFK Bridge in New York

In both of those cases, police have said, the responding officers were unaware of the men’s mental histories.

The city adopted crisis intervention training in 2015 but has been slow to roll it out. Police officials have said they need more money to accelerate training, and Mayor Bill de Blasio allocated $5.3 million in his recent budget proposal to train more officers.

On Tuesday the mayor’s wife, Chirlane McCray, will testify in front of City Council about ThriveNYC, a nearly $1 billion plan to address mental health in New York City. Despite Mr de Blasio touting the programme, which Ms McCray oversees, as “revolutionary,” it has faced questions about its effectiveness.