Ada Colau, Barcelona's new left-wing mayor, might need to add "fixing the city hall's lifts" to her to-do list.
She was trapped for half an hour on Friday morning along with seven others, including the pony-tailed leader of anti-austerity party, Podemos, Pablo Iglesias.
Fuera de bromas, esto empieza a ser angustioso... A ver si nos sacan de aquí pic.twitter.com/Y7fBbG5E7G— Pablo Iglesias (@Pablo_Iglesias_) June 26, 2015
Iglesias tweeted a selfie of himself with Colau in the lift, commenting that a famous Catalan comedy programme, Polònia, were going to have a field day with this.
Spaniards quickly remarked on what a good sense of humour the politicians had, and questioned whether you would ever see Spanish Prime Minister, Mariano Rajoy, taking a selfie if he was in the same position.
Iglesias sent out a second tweet 20 minutes later, commenting that the temperatures were rising. Spain is currently experiencing temperatures of up to 40C as a heat wave hits the country this weekend.
Rescatados gracias a los trabajadores del ayuntamiento. pic.twitter.com/G00KrwRFUL— Pablo Iglesias (@Pablo_Iglesias_) June 26, 2015
He finally tweeted the good news that the group had been rescued.