Elaine Thompson/Associated Press

Former NFL cornerback Brandon Browner was sentenced to eight years in prison Tuesday after pleading no contest to attempted murder.

According to TMZ Sports, Browner allegedly broke into his ex-girlfriend's La Verne, California, apartment in July where he dragged her and smothered her in her own carpet.

In exchange for charges of robbery, burglary and false imprisonment being dropped, Browner pleaded no contest to attempted murder and willful child endangerment since his ex-girlfriend's two children were present at the time of the incident.

Browner has been in custody since getting arrested in July, and he has gotten credit for 300 days behind bars due to good behavior.

The 34-year-old Browner spent five seasons in the NFL from 2011-2015 with the Seattle Seahawks, New England Patriots and New Orleans Saints.

Browner signed with the Seahawks in 2011 after a standout career in the CFL, and he was named to the Pro Bowl in his first NFL season after recording a career-high six interceptions, including two returned for touchdowns.

He went on to win a Super Bowl with the Seahawks in his third season and then won another with the Pats against the Seahawks one year later.

After performing poorly with the Saints in 2015, Browner signed with the Seahawks in 2016, but he was released before appearing in a regular-season game for them.

Following the end of his playing career, Browner was arrested in May 2017 for cocaine possession and then again later that year for allegedly making criminal threats against a woman.