Former Dallas Cowboys running back Darren McFadden was sentenced to jail time Friday for a DWI conviction after he fell asleep in a Collin County Whataburger drive-through lane last year.

Darren Graylon McFadden (Collin County Sheriff's Office)

McFadden, 32, pleaded guilty Friday to driving while intoxicated and was sentenced to four days behind bars, with credit for one day of time served, court records show. A charge of resisting arrest was dismissed.

Employees at the Whataburger in the 9000 block of West University Drive in McKinney reported a man asleep in his vehicle in the drive-through early Jan. 21, 2019, police said.

Officers arrested McFadden, and he was released from custody a short time later on a personal-recognizance bond. He was required to install an ignition interlock device on his vehicle.

McFadden was a star player during three seasons for the University of Arkansas Razorbacks in the mid-2000s. The Oakland Raiders selected him as the fourth overall pick in the 2008 NFL draft.

He played for the Raiders for seven seasons before signing with the Cowboys in 2015. McFadden retired from football days after the Cowboys released him in November 2017.

Property records show that McFadden has a home in a gated community in Prosper, about 4 miles from the Whataburger where he was arrested.