ALLERTON, the Bronx (PIX11) – Four men were injured when a gunman opened fire in the Bronx Friday afternoon, police said.

The shooting happened in Allerton at 810 Astor Ave. around 4:45 p.m., according to the NYPD. The four victims were hanging out in a courtyard when the gunman came up to them and started shooting, NYPD officials said.

A 22-year-old man was shot in the left ankle, a 26-year-old man and a 28-year-old man were both shot in the buttocks and a 29-year-old man suffered an unspecified gunshot wound, according to police. All four men were hospitalized in stable condition.

The NYPD was still searching for the gunman. Police didn’t indicate a possible motive for the shooting.

Submit tips to police by calling Crime Stoppers at 1-800-577-TIPS (8477), visiting crimestoppers.nypdonline.org, downloading the NYPD Crime Stoppers mobile app, or texting 274637 (CRIMES) then entering TIP577. Spanish-speaking callers are asked to dial 1-888-57-PISTA (74782).