The Libertines are the first headliner named for Scotland's biggest rock festival, T in the Park, which will take place at Strathallan Castle from July 10-12.

Last year, the Arctic Monkeys were the first T headliner announced. The Sheffield rock group was followed by fellow headliners Biffy Clyro and Calvin Harris, while Pixies, Ed Sheeran, Ellie Goulding, Pharrell Williams and several other artists filled in the gaps.

"The Libertines are a truly iconic British band, revered as cult heroes by a generation of music fans and adored by the Scottish crowd," Festival Director Geoff Ellis said (via NME). "They chose Scotland as the destination for their live return on home soil last June, and raised the roof of the Barrowlands with two exhilarating shows.

"We can't wait to welcome them back in what is a historic year for T in the Park, as we take up residency at our beautiful new home, Strathallan Castle. It's going to be a very special year for T in the Park, and we can't wait to welcome you all to Strathallan."

The group, fronted by Pete Doherty, overcame years of discord -- and personal struggles -- to sign with Virgin EMI in 2014. Doherty then left rehab to write new tunes with Carl Barat and the rest of the gang, so with this T in the Park announcement, it seems safe to say that The Libertines are back to being a fully functional rock band.

Although their prime was more than 10 years ago (they only have two studio albums, with the most recent being 2004's smash hit The Libertines), they obviously have a strong enough pull to carry the T's early sales.

Tickets for the festival drop February 27 at 9am from the T in the Park website.