BROOKLYN, N.Y. (CBSNewYork) – The NYPD is looking for two men they say are connected to an attempted robbery and assault in Brooklyn.

It happened around 11:30 a.m. on June 28 near the corner of Shepherd Avenue and Linden Boulevard.

READ MORE: Coroner Confirms Remains Found Are Gabby Petito's, Says Manner Of Death Is A Homicide As Search Resumes For Brian Laundrie

Police said a 38-year-old man getting out of his car noticed two men trying to steal property from his backyard.

(credit: NYPD)

The suspects attacked the man – punching him in the head, face and body – when he confronted them, police said.

READ MORE: 7 Pedestrians Hurt After Being Struck By A Vehicle In The Bronx; Hunt Continues For Driver, Passenger

The two also tried to steal the man’s 2012 BMW, but were unsuccessful and fled the scene, according to police.

The victim was taken to Brookdale Hospital in stable condition.

MORE NEWS: Blind Brook Board Meeting Gets Heated Over Continued Closure Of Ridge Street Elementary School

Anyone with information is asked to call the NYPD’s Crime Stoppers hotline at 1-800-577-TIPS (8477), or for Spanish, 1-888-57-PISTA (74782). You can also submit a tip via their website or on Twitter, @NYPDTips. All calls are kept confidential.