A Garfield resident who shot a man trying to steal from his car was charged with attempted murder and weapons counts, court records show.

Omar Smadiya, 37, was charged with attempted murder for allegedly shooting Christopher Manon-Velez, 19, on Tuesday, according to court documents. Smadiya was also charged with possession of several high-capacity gun magazines, which are illegal in the state, the documents show.

Manon-Velez, of Passaic, was also charged with burglary, after allegedly breaking into Smadiya's white Toyota Camry, according to the documents.

Calls to the Bergen County Prosecutor's Office were not immediately returned.

The charges shed some light on a jarring series of events that started on Farnham Avenue at about 3:15 a.m. with gunshots and ended minutes later with Manon-Velez bleeding from the chest inside of a McDonald's on Passaic Street.

Christopher Manon Velez, 19, was charged with burglarizing a car, after he was shot in the middle of rummaging through a Garfield man's car.(Photo: Courtesy of Bergen County Prosecutor's Office)

Smadiya and Manon-Velez initially gave police conflicting accounts of the night. Smadiya said he shot in the air rather than at Manon-Velez, and Manon-Velez claimed he was shot by a "masked man," the court records show.

Eventually, both changed their stories and gave their accounts of the night.

Around 3:15 a.m., Smadiya saw a man near his car and came out carrying his Glock 19 Gen4 handgun, according to Smadiya's account. When he opened his car, he found an unknown man, later identified as Manon-Velez, rummaging through it.

And Manon-Velez later admitted to police that he had burglarized several cars on Farnham Avenue, court records show.

Garfield Police and Bergen County Sheriff Crime Scene Unit were both on scene after a shooting was reported on Farnham Ave in Garfield, on Tuesday January 8, 2019. A 19 year old man from Passaic was found with a gun shot wound and transported to the hospital.(Photo: Tariq Zehawi, Tariq Zehawi/NorthJersey.com)

After apologizing to Smadiya, Manon-Velez ran and Smadiya reportedly shot three times in his direction. Manon-Velez was shot once in the back, and the bullet exited through his chest.

Minutes later, McDonald's employees set off a silent alarm when Manon-Velez stumbled into the restaurant with a gunshot wound, according to the documents.

Smadiya is being held in Bergen County jail and is scheduled for a first appearance in Hackensack on Friday. Manon-Velez was served with a summons and released pending an appearance in Hackensack on January 28.

Posted!

A link has been posted to your Facebook feed.

Garfield Police and Bergen County Sheriff Crime Scene Unit were both on scene after a shooting was reported on Farnham Ave in Garfield, on Tuesday January 8, 2019. A 19 year old man from Passaic was found with a gun shot wound and transported to the hospital. Tariq Zehawi, Tariq Zehawi/NorthJersey.com

Garfield Police and Bergen County Sheriff Crime Scene Unit were both on scene after a shooting was reported on Farnham Ave in Garfield, on Tuesday January 8, 2019. A 19 year old man from Passaic was found with a gun shot wound and transported to the hospital. Tariq Zehawi, Tariq Zehawi/NorthJersey.com

Garfield Police and Bergen County Sheriff Crime Scene Unit were both on scene after a shooting was reported on Farnham Ave in Garfield, on Tuesday January 8, 2019. A 19 year old man from Passaic was found with a gun shot wound and transported to the hospital. Tariq Zehawi, Tariq Zehawi/NorthJersey.com

Garfield Police and Bergen County Sheriff Crime Scene Unit were both on scene after a shooting was reported on Farnham Ave in Garfield, on Tuesday January 8, 2019. A 19 year old man from Passaic was found with a gun shot wound and transported to the hospital. Tariq Zehawi, Tariq Zehawi/NorthJersey.com

Garfield Police and Bergen County Sheriff Crime Scene Unit were both on scene after a shooting was reported on Farnham Ave in Garfield, on Tuesday January 8, 2019. A 19 year old man from Passaic was found with a gun shot wound and transported to the hospital. Tariq Zehawi, Tariq Zehawi/NorthJersey.com

Garfield Police and Bergen County Sheriff Crime Scene Unit were both on scene after a shooting was reported on Farnham Ave in Garfield, on Tuesday January 8, 2019. A 19 year old man from Passaic was found with a gun shot wound and transported to the hospital. Tariq Zehawi/NorthJersey.com