Charvarius Ward has been a star of training camp after arriving as an undrafted free agent.

Kirby Lee-USA TODAY Sports

KANSAS CITY, Mo. — The Kansas City Chiefs have agreed to trade offensive lineman Parker Ehinger to the Dallas Cowboys for cornerback Charvarius Ward, a person familiar with the deal tells The Associated Press.

The person spoke to The AP on condition of anonymity Thursday night, when both teams were playing their final preseason games, because the trade was not expected to become official until Friday.

That means the deal will be done before roster cuts are made on Saturday.

Ehinger had lost his left guard job to Cam Erving early in training camp, and the Chiefs had been happy with the depth they had among backups. So it made sense to deal Ehinger to the Cowboys, where Ward has been a star of training camp after arriving as an undrafted free agent.