A Milan derby awaits in the Champions League semi-finals after Inter made it past Benfica with a 3-3 draw on Wednesday, sealing a 5-3 aggregate victory.
Following Milan's passage to the final four after they eliminated Napoli on Tuesday, Inter just had to see out their quarter-final second leg against the Lisbon side having taken a 2-0 lead into the clash at San Siro.
As he did in the first leg, Nicolo Barella gave Inter the lead with an excellent finish, before Fredrik Aursnes equalised for the visitors with a powerful header before half-time.
Lautaro Martinez put Inter back in front, before substitute Joaquin Correa added another with a fine effort, though late goals from Antonio Silva and Petar Musa meant Roger Schmidt's men at least ended their recent losing run.
Barella put the hosts in front in the 14th minute when the determined midfielder battled his way into the Benfica box after a one-two with Martinez, before cutting onto his left foot and finishing splendidly into the top left corner.
Martinez had a goal ruled out in the 33rd minute after his header at the far post squirmed under Odisseas Vlachodimos, with the Benfica goalkeeper relieved to see a foul given against the Argentine for a push on Gilberto.
From nowhere though, Benfica were level in the game after Rafa Silva's perfect cross from the right allowed Aursnes to send a bullet header past Andre Onana seven minutes before the break.
Inter effectively ended their opponent's hopes when they scored a second in the 65th minute. Federico Dimarco played a one-two on the left with Henrikh Mkhitaryan, before crossing for Martinez to finish into the roof of the net
Correa scored a third for Inter just two minutes after coming off the bench as he cut inside from the left and bent an effort in off the far post.
Antonio Silva headed in for the visitors from an inswinging Alex Grimaldo free-kick before Musa swept in a loose ball to equalise, but the Nerazzurri confirmed they will face their city rivals in the semi-finals.
What does it mean? Inter put domestic form behind them
It has been a tricky spell for Inter in Serie A, having not won any of their last five games and drawing one.
Benfica came into this off the back of three defeats of their own, and it will be a small consolation that they were able to end that run at San Siro.
Inter had never lost a two-legged European Cup/Champions League tie in which they had taken a lead of two or more goals into the second leg, with this their ninth time doing so, and they never looked like ending that record here despite the Benfica's late comeback.
Dimarco shines for Inter
It was a productive night for Dimarco, who produced 10 crosses from the left, more than twice as many as any other player, and recorded two assists.
He also made three key passes, more than any other Inter player, and had the joint-most interceptions along with Francesco Acerbi (both three).
Benfica look Ben-weaker
When they reached the last eight last season, Benfica — led by Darwin Nunez — went into the second leg two goals down but gave the club Nunez would later move to, Liverpool, a bit of a fright at Anfield, earning a 3-3 draw.
They managed to repeat that feat at San Siro but despite the late goals, they were in reality well beaten by Inter over the two legs.
Goncalo Ramos was unable to impact the game in any way, having just 25 touches, completing 11 passes (from 14 attempts) and taking one shot, which was off target.
What's next?
Inter travel to Empoli on Sunday while Benfica host Estoril the same day.