Lionel Messi came off the bench to score twice as nine-man Barcelona came from behind to beat Racing Santander at El Sardinero.
The runaway Primera Liga leaders appeared to be in trouble when Nikola Zigic put the Cantabrians ahead from the penalty spot early in the second half.
But Pep Guardiola turned to Messi in his moment of need and the Argentina forward turned the game on its head with two well-taken goals.
However, the late dismissals of Rafa Marquez and Yaya Toure did take some of the gloss off the result after both players were given their marching orders for second bookable offenses in the closing stages.
The first half was a scrappy affair littered with countless free-kicks in the middle of the park and Racing seemed quite content to allow the visitors most of the early possession.
It was a ploy that almost proved costly in the opening few minutes when Thierry Henry was played in behind Juan Valera as he raced down the left.
His early ball across the six-yard box for Samuel Eto'o looked dangerous but Cesar Navas showed great initiative to slide in and hook the ball away from the striker and out for a corner.
Racing survived that early scare and could have taken the lead on 12 minutes, but Jonathan Pereira was denied by the woodwork when he sneaked a shot inside Victor Valdes at his near post when the Barca keeper was expecting a pass across goal.
Zigic then became a focal point for the action as the half wore on with Racing winning a succession of set-piece opportunities to exploit his aerial threat.
Sergio Busquets was the man assigned to mark the big Serbian and he was lucky not to concede a penalty when he was caught with his arms all over Zigic at a corner.
The Racing players appealed vehemently for the decision but their protests fell on deaf ears.
However, there was no such confusion nine minutes into the second period when Pereira tumbled under a challenge by Marquez.
The Mexican got his timing all wrong and referee David Borbalan pointed straight to the spot with Zigic sending Valdes the wrong way with a coolly-taken spot-kick.
That was the cue for Guardiola to summon his leading light, although Messi's arrival was delayed while Toni Moral was stretchered off the field following a crunching tackle from Dani Alves in which the defender appeared to sustain a serious injury.
Messi was immediately involved in the action following his introduction and he bagged the equalizer within six minutes of entering the play.
A cross from Henry was met with a firm header by Xavi and the ball cannoned back off the crossbar into the path of the Argentinian who slotted home right-footed from four yards.
If his first goal was simple in its execution, his second was sublime.
A mis-hit clearance dropped out of the sky and Messi took the ball on his chest, showing great strength to shrug off the challenge provided by Oriol Lozano before he unleashed an unstoppable volley into the far corner beyond the despairing dive of Tono.