The Wanted, Rita Ora, Nicki Minaj and many more spent the weekend in Scotland, performing at T in the Park, the country's biggest music festival.

The annual event celebrated its 19th run, featuring rock, pop, hip-hop and EDM superstars on seven stages over the course of three days (July 6-8). According to the BBC, the weekend got off to a sunny start, but Saturday's rains offered muddy conditions.

On Sunday, the rain subsided, but Nicki Minaj fans got an abbreviated performance. The rapper arrived on stage 50 minutes late, but she had a good reason. "Still sick but the show must go on...right? #scotland," she tweeted.

The Wanted said they had an "amazing" time at the festival, while Rita Ora was grateful for her T in the Park debut on Sunday. "T IN THE PARK THANK YOU FOR HAVING ME AND MAKING ME FEEL SO WELCOME!!!!!!" she wrote on Twitter. "I love you."

Snow Patrol, Jessie J, Olly Murs, Tinie Tempah and Calvin Harris made notable appearances at the event, too, while Kasabian and Swedish House Mafia closed out the massive weekend festivities.

Watch the Wanted Perform 'Chasing the Sun' at T in the Park 2012

Watch Rita Ora Perform 'R.I.P.' at T in the Park 2012

Watch Nicki Minaj Perform 'Moment 4 Life' at T in the Park 2012