Waylon Jennings' drug habit became very public knowledge on Aug. 23, 1977, when the singer got arrested at a Nashville recording studio and charged with conspiracy and possession of cocaine with intent to distribute.

The DEA raided the studio in the middle of a recording session after getting a tip about a package containing cocaine that had been mailed to Jennings. The country star managed to delay the DEA's search of the premises by challenging their warrant, which incorrectly identified him as the owner of a studio he only rented.

While they were sorting that mix-up, Jennings and his drummer managed to hide or dispose of the original package and all of the other drugs on the premises, but Jennings faced arrest anyway.

The charges were eventually dropped at Jennings' preliminary hearing due to the original faulty warrant, and Jennings immortalized the incident in his hit song "Don't You Think This Outlaw Bit's Done Got Outta Hand."

READ MORE: See Inside Stunning Celebrity Homes

"We were wrapped up in our music, that's why we never saw / Cars pull up, the boys get out and the room fills up with law / They came bounding through the back door in the middle of a song / They got me for possession of something that was gone, long gone," Jennings sings in the second verse.

Jennings was open and honest about his addiction in his later years, saying, "I did more drugs than anybody you ever saw in your life." At one point, he claimed he had a $1,500-a-day cocaine habit that he wasn't able to kick until he went cold turkey in 1984.

The heavy drug use contributed to health problems for the singer, which eventually led to his death in February 2002 at the age of 64 from complications from diabetes.

Billy Dukes is a Senior Editor and Executive Producer of Video Content at Taste of Country. He specializes in country music interviews, trend analysis and the Secret History of Country Music. Additionally, Billy covers Yellowstone, 1923 and related television shows through the Dutton Rules podcast. To date, he's written more than 13,000 articles for Taste of Country and produced over 3,000 videos for the Taste of Country YouTube channel.

9 Country Stars Charged With a Felony

We count nine country stars who've been charged with a felony but only six have gone to jail. Here are the details behind some of country music's most serious crimes.

Gallery Credit: Billy Dukes

11 Great Country Songs About Getting Arrested

Nearly a dozen country stars have written songs about being arrested, but only a few know of which they sing. Here are 11 songs about being picked up by police, including true stories from by Keith Urban and Chris Janson, and legendary outlaw hits for Waylon Jennings, Johnny Cash, Johnny Paycheck and more.

Gallery Credit: Billy Dukes

More From Taste of Country