Oklahoma quarterback Baker Mayfield has apologized for his behavior over the weekend that resulted in him being arrested and charged with public intoxication, disorderly conduct, resisting arrest and fleeing while partying in Fayetteville, Ark., early Saturday morning.

“With a heavy heart and many more emotions than just one … I sincerely apologize for my actions,” the 21-year-old wrote in a lengthy essay posted to Twitter on Tuesday evening. “I made the biggest mistake of my life by putting myself in this situation.”

Mayfield’s arrest occurred around 2:30 a.m. local time after police encountered him “yelling profanities and causing a scene,” according to a police report obtained by Fayetteville’s 5 News. The quarterback, who came in third in last season’s Heisman voting, later apparently walked away from police and then ran as an officer chased him down and eventually tackled him. On the ground, Mayfield resisted, police said, noting that Mayfield refused to put his arms behind his back and had to be forced into handcuffs, according to the Associated Press.

Mayfield was later booked into the Washington County Detention Center, where he spent three hours before being released on $1,535 bond, according to the sheriff’s office.

He is expected to be back in court on April 7.

The University of Oklahoma has not commented on the arrest.

“I know that I represent the University of Oklahoma on a very large scale, therefore I know better than to bring bad attention and scrutiny to the school and people that I love,” Mayfield wrote on Tuesday. “The shame, guilt, and embarrassment I have felt over the past few days and continue to feel is something I would never wish upon anybody.”