Jose Antonio Reyes came off the bench to help Espanyol to a 2-1 win in their La Liga clash against Real Betis at the RCDE Stadium on Friday night.
With the match seemingly heading for a goalless draw, Ruben Castro broke the deadlock from the penalty spot with 78 minutes on the clock.
Javi Fuego grabbed an equaliser nine minutes later though before substitute Reyes netted a 90th minute winner to secure all three points for his side.
In this intriguing clash, it was Betis who threatened first, with Darko Brasanac firing high and wide after latching on to a good ball from German Pezzella.
Victor Sanchez then forced Betis stopper Adan into a good save as he rifled in an effort on 10 minutes.
Ruben Pardo failed to test Diego Lopez in the Espanyol goal on 14 minutes, with a tame effort as Ruben Castro fired just wide after being set up by Antonio Sanabria.
Despite some interesting battles occurring throughout this game, the clear-cut chances for both sides were few and far between for the remainder of the first half, as Riza Durmisi saw his 36th minute long-range effort comfortably saved, in what was the last real effort of the opening 45 minutes.
A number of fouls and free-kicks punctuated the start of the second half, with Dani Ceballos the only player to get a shot in on goal, after 10 second-half minutes, that was easily saved by Lopez.
Sanabria fired high and wide on 65 minutes as Diego Reyes saw his header well saved.
Gerard Moreno then fired over the target before Castro smashed his spot kick into the top right corner of the Espanyol goal after Javi Fuego was blown up for a foul inside the box.