Country music star Zach Bryan was arrested Thursday night, according to the Craig County Sheriff's Office in Oklahoma.

According to online records from Craig County, Bryan was arrested around 6:40 p.m. local time.

Records show that Bryan was arrested for obstruction of an investigation.

The Oklahoma Highway Patrol and the sheriff's office did not immediately respond to ABC News' request for comment.

Bryan took to X regarding the arrest, stating: "Emotions got the best of me and I was out of line in the things I said."

"I support law enforcement as much as anyone can, I was just frustrated in the moment, it was unlike me and I apologize."