A man was shot in the leg inside a Coney Island donut shop Tuesday afternoon, police said.

The 31-year-old victim was blasted around 3:29 p.m. inside Donut Connection near Mermaid Ave. and W. 17th St., cops said.

EMS rushed the man to NYU Langone Hospital-Brooklyn, where he was in stable condition. authorities said.

It was unclear what sparked the gunfire. Police continued a search for the gunman Tuesday night.

See Full Page