(CNN) -- Inter Milan exited this season's Champions League to Marseille in a dramatic finish to their last 16, second leg tie in the San Siro Tuesday. 

Trailing visitors Marseille 1-0 from the first leg, 2010 winners Inter leveled on aggregate through a Diego Milito goal in the 75th minute. 

The match looked headed for extra time until a long clearance found Marseille substitute Brandao, who eluded two defenders before beating Julio Cesar with a low shot. 

Inter were stunned but had time for one more attack, Giampaolo Pazzini earning a penalty as he was brought down by Marseille goalkeeper Steve Mandanda, who was sent off for a second yellow card. 

Pazzini converted the penalty with the last kick of the match as it finished 2-2 on aggregate. 

But the French side went through on the away goals rule to reach the quarterfinals of the competition for the first time since 1993 

The defeat will heap the pressure on Inter's coach Claudio Ranieri, who has seen his side win just once in 11 games to slide down Serie A. 

Both Wesley Sneijder, who was later substituted, and Milito spurned cast-iron chances in the first half to give Inter some breathing space in the tie and they paid a heavy price. 

"This match is a picture of our season, we played better than Marseille and even tonight we had the clearer chances," Ranieri told Italian television. 

"Over 180 minutes Marseille had three shots on goal but in football the team who wins is the one that scores, so well done to them. 
What is his job?
Inter's coach Claudio Ranieri