New Barcelona manager Xavi celebrated his first game in charge at the Nou Camp with a slim derby victory over Espanyol in La Liga.
Although the home fans were able to claim bragging rights over their city rivals, the visitors could easily have won the game having wasted numerous chances in the second half.
Xavi eventually saw his side take the lead seconds after the restart through a Memphis Depay penalty.
The win puts Barca sixth in the table.
Xavi, who played 767 games and won 25 titles with the Catalan giants in his 17 years in the first team, had to wait two weeks to take the reins at the club he calls “home” due to the international break.
The Spaniard saw his side create an opening after 13 minutes after Jordi Alba’s low cross was met by 17-year-old debutant Ilias Akhomach but the teenager blasted his shot high and wide over the crossbar.
The hosts continued to apply pressure on Espanyol but attempts by Sergio Busquets, Depay and the impressive Gavi were either not taken or saved by goalkeeper Diego Lopez.
A breakthrough for Barca finally came when Leandro Cabrera brought down Depay on 46 minutes. The Netherlands forward sent Lopez the wrong way to put the home team in control.
However, Barca were unable to dominate in the same way they had done in the first half and as the clock tick towards full time, Espanyol suddenly tested their shaky defence.
Raul de Tomas, who was the away side’s best player, first watched a free-kick clip goalkeeper Marc Andre ter Stegen’s right-hand post before going behind, and then an unmarked header struck the same spot four minutes later.
Landry Dimata was also left in shock as he was given acres of space inside the Barca penalty area, only for his header to go well wide – much to the despair of manager Vicente Moreno.
Next up for new Barca boss Xavi is a vital Champions League group game against Benfica on Tuesday. The Catalan giants will secure their place in the knockout stages if they beat the Portuguese side at the Nou Camp.