The hitmaker performed a string of hits including Treasure, Wish I Was Your Man, Just the Way You Are and Locked Out of Heaven, but saved his biggest hit until last, closing the show with his Mark Ronson collaboration Uptown Funk.

During his set, Mars also played R. Kelly's Ignition, which drew an enthusiastic roar from the audience.

The inaugural Rock in Rio festival took place on 8-9 May (15) and 15-16 May (15) and drew a crowd of more than 172,000 music fans, who also watched performances from Ed Sheeran, Taylor Swift, John Legend, No Doubt, Metallica, Mana and Linkin Park, among others.

One of the highlights came on Friday (15May15) when Swift was joined onstage by pal Ed Sheeran for a special performance of his hit Tenerife Sea. The festivities were also capped by wedding ceremonies as 20 couples became husband and wife over the duration of the festival.