Two thugs were arrested after allegedly stabbing a man in an Astoria deli, cops said.

Quran Walker, 23, and Nassan Walker, 21, got into a dispute with the victim and allegedly knifed him four times in the thigh at Express Deli on 36th Avenue near 23rd Street at 8:15 p.m. Feb. 21.

The victim was hospitalized in stable condition.

Police nabbed the suspects March 1 and charged them with assault.

*

A teenage thug robbed and beat a man in Jamaica, cops said.

Troy Phillip, 18, allegedly punched the man in the head on Jamaica Avenue near 159th Street at 2:55 p.m. March 1.

Phillip then struck him in the head with a hard object before swiping his wallet and BlackBerry, according to a spokeswoman for DA Richard Brown.

The victim suffered lacerations on his forehead.

Philip was arrested the same day and charged with robbery in the second degree and criminal possession of stolen property.

Brooklyn

A straphanger was busted for pulling the emergency brake on a subway in Downtown Brooklyn, police said yesterday.

Jason Bhaichandeen, 32, activated the brake as the northbound A train was moving between Hoyt-Schermerhorn and Franklin Avenue at 5:59 p.m. Sunday, authorities said.

The train screeched to a halt, stranding passengers. Cops arrested the prankster, who proudly proclaimed, “Yeah, I pulled the emergency brake. I get off whenever I want. I don’t care about other passengers,” sources said.

He was charged with misuse of the transit system, disorderly conduct and reckless endangerment.

*

A Bedford-Stuyvesant tenant who was supposed to be caring for his landlady’s cats was collared after he broke into her bedroom safe, authorities said.

Henry John, 43, agreed to feed the cats in the home on Quincy Street near Franklin Avenue while the woman was away.

John allegedly pried open the safe and swiped $5,000 in gold necklaces, bracelets and rings.

He was arrested Saturday and charged with grand larceny, petit larceny and criminal possession of stolen property.

*

Two burglars attacked a man after slipping into his Williamsburg home, authorities said.

The prowlers slinked into the apartment on Manhattan Avenue near West 101st Street at 11 p.m. Thursday, cops said.

They allegedly kicked and punched the 21-year-

old victim before snatching his cellphone and $200.

The man told cops he knew the perpetrators from the neighborhood and claimed they were drunk, police sources said.

The victim was treated at Woodhull Hospital.

Bronx

A young man was shot in the leg during a dispute in Eastchester.

The victim, 18, started arguing with another man on East 220th Street near Bronxwood Avenue at 3:40 p.m. March 1.

The assailant whipped out a gun and blasted the victim in the thigh.

The teen was taken to Jacobi Hospital, and is expected to make a full recovery.