FRISCO, Texas (CBSDFW.COM/AP) — The NFL has reinstated Dallas Cowboys defensive end Randy Gregory, who was suspended all of last season over multiple violations of the league’s substance-abuse policy.

The league said Tuesday that Gregory can join the Cowboys at training camp in California next week and will be eligible for games as long as he continues to meet the terms of his reinstatement.

gettyimages 630596700 e1531857717109 NFL Reinstates Cowboys DE Gregory From Yearlong Suspension

Dallas Cowboys defensive end Randy Gregory (94) (Photo by Matthew Pearce/Icon Sportswire via Getty Images)

Gregory was suspended just before the Cowboys lost a playoff game to Green Bay during the 2016 season.

He had been banned 14 games that year and played in the final two regular-season games before the latest suspension, his third.

Dallas drafted the Nebraska standout late in the second round in 2015. Gregory slid in the draft over off-field concerns.

He tested positive for marijuana during the NFL combine that year.

The Cowboys were 9-7 in 2017 and finished in second place in the NFC East division.

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)