It was a dramatic finish to a game that had looked set to end in frustration for PSG, especially after Lionel Messi saw his penalty saved just after the hour mark.
Substitute Martinez sealed the win for Inter from the spot five minutes from theend of thegame after Simone Inzaghi's men were awarded a penalty for a handball.
Erik ten Hag's side faced a frustrating wait for the breakthrough with Rasmus Hojlund and Alejandro Garnacho missing big chances at each end of the first half before Victor Lindelof grabbed the winner on 59 minutes.
Rocking an Alabama State University jersey, he performs in theend zone at a football game while joined by a marching band, cheerleaders, and dance squads. Weezy adds some school spirit as he delivers his verse in the stands.
City's win sees them close the gap on both north London teams after Tottenham drew with Arsenal earlier - they are now two points behind the third-placed Gunners with a game in hand.
Burnley's hopes of forging a route back into thegame took a turn for the worse when O'Shea lost possession near the halfway line before committing a professional foul on Dwight McNeil, earning a the defender a straight red card.
Liverpool reached the FA Cup fifth round with an entertaining victory over Norwich in their first game since manager Jurgen Klopp announced he will leave at theend of the season.
An entertaining encounter looked set to end in stalemate before - with thegame entering stoppage time - Firmino soared to flash a header high past Spurs keeper Hugo Lloris from Andrew Robertson's corner.
However, the home side ended thegame with 10 men as defender Jan Vertonghen was sent off for catching Dortmund substitute Mario Gotze with a swinging arm.
After railing against the media the day before thegame, labelling coverage of the Coventry match "embarrassing" and "a disgrace", Ten Hag's team failed to follow up by convincing on the pitch.
Erik ten Hag's side, beaten 3-0 at home to Bournemouth in the Premier League on Saturday, needed to beat the Bundesliga champions and hope that there was no winner in the other group game between Copenhagen and Galatasaray.
An emotional Terry, who will leave at theend of the season after more than two decades at the club, swept in a loose ball from a corner for the opener.
Chelsea scored two late goals as they came from behind to claim a dramatic victory against Watford at Stamford Bridge and end a three-game winless run.