The last stop of Madonna's hugely successful MDNA Tour got off to a rough start after a generator broke down in the middle of her set.
The Material Girl, who was wrapping up her trek in Cordoba, Argentina on Saturday, had just launched into a performance of Open Your Heart when the device shut down, cutting off electricity to the venue, Estadio Mario Alberto Kempes.
In a bid to entertain the audience of more than 50,000 waiting fans, the quick-thinking star broke into an impromptu routine with her back-up dancers and continued singing using a megaphone.
After 45 minutes, organisers were able to fix the problem and a relieved Madonna took to the microphone to thank the crowd for waiting it out.
"Thank you for your patience, thanks for everything. You have been great," she told them.
However, the pop diva ended the year on a good note - her tour was named the highest-grossing of 2012 after raking in $US228 million ($220 million) in ticket sales.