An 18-year-old Portland man was arraigned on a seven-count indictment Wednesday morning, accusing him of firing a gun from his car at a passing car on Aug. 3.

Deangelo Romione Andersen-Smith entered not guilty pleas to two counts of attempted aggravated murder with a firearm , two counts of unlawful use of a weapon, attempted murder with a firearm, obliteration of identification marks on a firearm, and unlawful possession of a firearm.

Gresham police Sgt. Mike Amend was on patrol in the area of 162nd Avenue and Burnside Street when he heard multiple gunshots in the area and saw people dropping to the ground to get cover from the gunfire, deputy district attorney Nathan Vasquez wrote in a probable cause affidavit. He located three .22-caliber shell casings at the intersection and glass on the ground.

Witnesses described seeing the driver of an older green sedan shooting at the occupants of another vehicle. The suspect car was last seen heading north on 162nd Avenue, police said. No injuries were reported.

Another officer spotted a car matching the description of the suspect vehicle and stopped it . According to Vasquez, the officer got the driver's written consent to search the car and found a .22-caliber handgun stuck between the driver and passenger seats.

Andersen-Smith admitted to investigators that he was the driver and had a dispute with passengers of another vehicle.

Andersen-Smith remains in custody at the Multnomah County Detention Center. He's being held on total bail of $767, 500. His next court hearing is set for Nov. 4.