Neil Patrick Harris hosted the Tony Awards Sunday night, singing, dancing and charming his way through his second successful hosting gig. Still, the “How I Met Your Mother” star had to defend his abilities to Tony winner and three-time host, Hugh Jackman.

The two Broadway vets attempted to prove they were the superior host by performing some pretty slick dance moves while singing a medley of Broadway tunes from shows including “Gypsy,” Annie Get Your Gun” and “Singin’ in the Rain.”

The Post’s Peter Marks praised Harris, saying “the show was one of the smartest Tony telecasts in memory, moving securely from entertaining if often promotional musical numbers to the host’s winking comic interludes” with this Jackman skit being “a highlight.”

Watch part of the performance below and the complete number here.

More Tony Awards coverage from the Washington Post:

‘The Book of Mormon’ wins big at Tony Awards

List of winners for 2011 Tony Awards

Photos: The 65th Tony Awards