Riley Cooper has decided to retire from the NFL, announcing the decision on Twitter Monday.

Cooper, 30, played six seasons with the Philadelphia Eagles from 2010 to 2015, and was out of football in 2016. He had a tryout with the Tampa Bay Buccaneers in rookie minicamp last offseason, but failed to make the roster.

A fifth-round draft pick of the Eagles in 2010, Cooper had 169 catches for 2,418 yards and 18 touchdowns in his six NFL seasons. His best season came in 2013, when he had 47 catches for 835 yards and eight touchdowns in his first year under former Eagles coach Chip Kelly.

The Eagles are 11-2 and won the NFC East! Make sure to stay in the loop for all Eagles news this year -- take five seconds to sign up for our FREE Eagles newsletter now!

In August of that season, a video surfaced of Cooper shouting a racial epithet during a Kenny Chesney concert earlier that year.

The incident created shockwaves around the NFL, debating whether Cooper should be cut from the Eagles. Instead, Kelly gave Cooper an few days away from the team and decided to retain him.

I want to thank all NFL and College Football fans, my coaches, family and friends who have been there throughout my career. I?t was an awesome journey and I? couldn’t me more thankful. Go Eagles, Go Gators pic.twitter.com/XoNTkg1oMj — Riley Cooper (@RileyCooper_14) December 11, 2017

Get your OFFICIAL Philadelphia Eagles NFC East Champions gear HERE!

Cooper played with the Eagles from 2010 to 2015, and was out of football in 2016. He had a tryout with the Tampa Bay Buccaneers in rookie minicamp last offseason, but failed to make the roster.

To follow Eagles reporter Jeff Kerr on Twitter: @JeffKerr247