Dion Beard Jr. and Collin McGlen Smith Jr. clashed for about two years before Beard allegedly gunned down Smith on West Maple Street in broad daylight last month, according to testimony.

The two men were at odds over a woman, according to York City Police Detective Tim Shermeyer, who testified Friday at Beard's preliminary hearing.

York City Police previously said the men had a problem with each other that had recently escalated, but they didn't give specifics.

At the close of the hearing, District Judge Ron Haskell Jr. determined enough evidence exists for Beard to stand trial. He forwarded the case to York County Court and set Beard's formal court arraignment for June 23.

Beard, 27, of 1220 Wellington St., remains in York County Prison without bail, charged with homicide and five counts of reckless endangerment.

His defense attorney, Brian Perry, said that although it's very early in the case, he anticipates presenting a self-defense argument for Beard.

"Obviously there were problems between these two that escalated over a long period of time," Perry said.

Family members of both Beard and "CJ" Smith, 22, of Girard Avenue, packed the courtroom Friday afternoon.

Dion Beard(Photo: submitted)

Throughout his preliminary hearing, Beard shook uncontrollably and kept his head hung.

"I think he's just overwhelmed. He's never been in trouble before," Perry said afterward. "This is a young man from a good family with no criminal record."

Emotions high: At the close of the hearing, Beard didn't look up at his family or anyone as he was escorted back to a holding cell by county sheriff's deputies.