BARCELONA, Spain (AP) -- Lionel Messi and Dani Alves scored second-half goals as Barcelona beat 10-man Manchester City 2-1 on Wednesday to reach the Champions League quarterfinals for the seventh straight season.
Barcelona advanced with a 4-1 victory on aggregate over two legs in which referees decisions -- and non-decisions -- played a big part.
City defender Joleon Lescott was unlucky as Cesc Fabregas' pass bobbled through his legs in the 67th minute to emerge onto the run of Messi, who flicked the ball over goalkeeper Joe Hart.
As in its 2-0 defeat in the first leg, City finished with 10 players after Pablo Zabaleta was booked for a second time in the 78th for protesting after Gerard Pique barged into substitute Edin Dzeko inside the area without a penalty being awarded.
Vincent Kompany scored a consolation goal for City in the 89th minute before Dani Alves struck in stoppage time for the Spanish champions.
In the night's other match, Paris Saint-Germain advanced to the quarterfinals for the second straight season after coming from behind for a 2-1 win over Bayer Leverkusen and a 6-1 victory on aggregate.
City managed to create good scoring chances from the boots of David Silva and Yaya Toure, but manager Manuel Pellegrini could only bury his head in his hands when Messi scored his eighth goal of the competition.
While Barcelona did not look in danger of an upset, City will certainly feel aggrieved after Pique was not penalized for his sliding tackle from behind, which saw City's furious players surround referee Stephane Lannoy and Zabaleta dismissed.
Much of City's hope of overcoming the deficit lay in Sergio Aguero's return after he missed the first leg, but the Argentina striker also seemed absent Wednesday despite starting ahead of Alvaro Negredo and Dzeko. Pellegrini watched from the stands as the Chilean served a ban for his criticism of the referee's performance in the first match.
Though Silva passed up a promising opportunity early on, Barcelona was sharp as Messi repeatedly ran at -- and past -- Lescott. Messi exploited City's slow-footed defense to register his 28th goal of the season after having found the post earlier on.
City crafted occasional first-half moments, but Hart kept the visitors in it with a reaction stop on Xavi Hernandez before Fernandinho cleared Neymar's curler off the line.
City went into the break encouraged after Samir Nasri sent Silva's midair backheel flick straight at goalkeeper Victor Valdes, who also tipped Dzeko's powerful header over the bar in the 52nd. Dzeko replaced Aguero to start the second half and immediately lifted City's attack.
Kompany looked to have been in an offside position as he guided Dzeko's header home to equalize, but the goal proved fruitless as Dani Alves scored late again, as he did in the opening leg.