Lionel Messi came on at half-time and scored twice for Barcelona, including his first goal from open play this season, in a 5-2 win over Real Betis.
Messi had been rested by Ronald Koeman but was thrown on with the game in the balance after Antoine Griezmann missed a penalty in the Argentine's absence, before Antonio Sanabria cancelled out Ousmane Dembele's opener.
But within four minutes of his introduction, Messi set up Griezmann an open goal with a superb dummy and then scored twice himself, the first a penalty that saw Betis' Aissa Mandi sent off for a handball on the line.
In between, Loren Moron had given Betis brief hope but Messi's second and a late strike from Pedri ensured Barcelona ended their four-match winless run and climbed to eighth in La Liga.
Player ratings from the match can be seen in the gallery above. To view the next image, click on the arrows or swipe if on a mobile device.