Two men were in custody Tuesday after an argument on a Sandy Springs basketball court escalated into gunplay, police said.

Sandy Springs and DeKalb County police arrested Chavis Baker and Terence Doe early Tuesday morning at the United Inn on Memorial Drive in DeKalb County, according to Capt. Steve Rose, spokesman for the Sandy Springs Police Department.

Police also recovered the Taurus 9mm semi-automatic pistol -- listed as stolen from Beaufort, S.C., in May 2011 – the 24-year-old Baker allegedly used to fire on 18-year old Khalif Quashon Williams about 3 p.m. Monday at Hammond Park, Rose said.

“The victim had to leave for some reason involving his daughter. He had to leave the game early, and the other guy got mad about it,” Rose said.

Baker retrieved the gun from his car and allegedly fired once at Williams, missing him, police said. Baker and Doe, 26, then drove away in Doe’s Ford Explorer.

Williams stayed at the scene to talk to investigators, Rose said, “and he was interviewed later at headquarters and gave us detailed information, including the tag number (of the Ford), so we were able to find the car based on that.”

Doe has an address on Radford Lane in Riverdale, but the Ford was registered to his mother in Beaufort, police said. Investigators contacted the man’s mother, and she told them where her son could be found.

Crime suppression team members and detectives went to the United Inn, located the Ford and found the suspects in a motel room where they had been living, Rose said. Both men were arrested without incident.

Police said Baker, of Beaufort, was charged with aggravated assault, possession of a firearm during the commission of a felony and theft by receiving stolen property, the firearm, and Doe was charged with being party to the crime of aggravated assault.

Both men were being held Tuesday afternoon in Fulton County Jail.