A Delaware County man who police say shot at a Walmart employee during a dispute in a store in Glenolden on Sunday has been charged with attempted murder.

Devante Dixon, 28, turned himself in to police about 9:15 Thursday morning, police in Darby Township said Friday. He has been charged with attempted homicide, attempted aggravated assault, reckless endangerment, carrying a gun without a license, and related offenses.

Dixon remained in custody Friday in lieu of $500,000 bail. There was no indication that he had hired an attorney.

Investigators had been scouring the area for the Darby resident since Sunday, when he pulled a gun and fired at a worker inside the Walmart.

Dixon and the employee had gotten into an argument over a video game sale, police said. The single shot Dixon fired did not strike anyone, police said, and he fled as shoppers and employees panicked.

Darby Township Police Chief Mike Sousa said Dixon and the Walmart worker didn’t know each other, and described the shooting as “just a random act.”

After identifying Dixon from surveillance footage and other evidence, police from multiple nearby departments surrounded Dixon’s apartment. The officers barricaded the street for hours before finally entering the building and discovering that Dixon wasn’t home, police said.

On Thursday, Dixon contacted detectives and surrendered, investigators said. He faces a preliminary hearing in the case on March 3.