Authorities say they were called to the Christiana Meadows Apartments about 7:30 p.m. Thursday for a report of a shooting or possible fireworks.
When they arrived, they heard gunshots and saw the flash of a gun being fired from an apartment facing the highway.
SWAT officers used explosives to break down the front door of the apartment about 1:40 a.m. and, with the help of a robot, arrested the man inside.
He is identified as 36-year-old David W. Stanley.
He has been charged with reckless endangering in the first degree and two weapon offenses.
"He was target practicing. He was shooting at moving targets from his window," said Cpl. Trinidad Navarro of the New Castle County Police.
At least one car, that was being driven by a Pennsylvania man north on Route 1, was struck by a large caliber bullet. In fact, police later found the bullet still lodged in the car.
No injuries were reported.
"The driver was very fortunate not to have been killed," Cpl. Navarro said.
Police say they found five guns scattered around the apartment. Stanley was undergoing psychiatric evaluation after his arrest.