Luuk de Jong struck a dramatic late equaliser to earn Barcelona a crucial point at Espanyol in a tense La Liga clash.
Youngster Pedri opened the scoring with a powerful volley before Sergi Darder curled in a goal right before half time to make the score level.
In the second half, Raul de Tomas broke through to put Espanyol ahead.
Gerard Pique and Nico Melamed were sent off in added time before substitute De Jong headed in an Adama Traore cross to lift them above Atletico Madrid in fourth place.
Manu Morlanes, who entered the game in the 62nd minute but was forced to leave eight minutes later due to an injury, was also shown a red card after the game’s conclusion.
It was a heartbreaking outcome for the hosts, who came within seconds of winning the derby for the first time since the 2008-09 season.
Barcelona fired cross after cross into the box in the closing moments in the aim of snatching a goal, and it paid off seconds before the final whistle.
Traore’s assist was his second in as many outings since joining Wolverhampton Wanderers on a loan deal.