Former Teen Mom OG star Ryan Edwards says he "messed up" and takes full accountability over his latest arrest but clarifies that he was not detained for drugs.

In late July, cast member Maci Bookout's 30-year-old ex was booked in Tennessee for breaking probation over a 2017 heroin possession charge. Ryan, who underwent rehab last year, was released from jail after a week.

"I got a speeding ticket and while I was pulled over, it came up that I was in violation of my probation because the community service had not been completed," Ryan told E! News on Wednesday. "I didn't do all of it. I went to jail for not doing all of my community service. It's not that I wasn't taking the community service seriously, it's just that we have so much going on, I didn't realize the deadline had passed. It was just a misunderstanding. I thought I had more time."

Ryan, whose wife Mackenzie Edwards is pregnant with their first child together, added, "I take full accountability. I messed up, but I've had a chance to get organized and fix the situation."

He also clarified that his current violation was not drug-related, adding, "It was the fact that I got pulled over and had not completed my community service. The only drug related charge was the original one from two years ago, from before I went to rehab. There is nothing new that is drug-related."

"Ryan is my husband," Mackenzie told E! News. "Yes, he's made some mistakes but we are moving past them. He has my full support."