Andrea Ranocchia scored in the last minute of extra-time to give Inter a 3-2 Coppa Italia win over Bologna whose fightback from two goals down proved in vain.

Bologna had scored twice in the last 10 minutes of normal time to stun a sparse San Siro crowd in the quarter-final tie after Fredy Guarin and Rodrigo Palacio had put Inter in control with long-range goals.

Colombia midfielder Guarin waltzed past a defender before rifling in an unstoppable shot from the end of the penalty area in the 34th minute.

Argentine forward Palacio appeared to have made the game safe in the 77th minute when he collected the ball just inside the Bologna half, ran forward, cut inside a defender and scored with a curling 30-metre shot.

Bologna suddenly came to life as Alessandro Diamanti pulled one back with a free kick in the 80th minute and Manolo Gabbiandini equalised four minutes later, volleying in Marco Motta's cross.

Both teams could have won the game, with Javier Zanetti hitting the post for Inter and Bologna having several chances on the break, before Ranocchia headed in from a corner at the end of extra-time to earn Inter a semi-final against AS Roma or Fiorentina.

"That's the great thing about football, they could have win it as well but it went our way," said Inter coach Andrea Stramacionni. "We showed tremendous character."

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.