Inter looked to be cruising past Trapani in the Coppa Italia when they led 3-0 at half-time, but they ended up breathing a sigh of relief at the final whistle.
The Nerazzurri were hoping to make short work of their second division opponents who had brought 2,500 fans over from Sicily.
And in the final minute of the 90, the visitors scored again to make it 3-2 with Giuseppe Madonia's angled strike.
There wasn't time for Trapani to complete what would have been a historic comeback but it was a warning for Inter, who have looked laboured in recent performances.
Trapani's rise to this level has been an impressive and quick one. They were in the Eccellenza in 2008 (Italy's sixth tier) and as Inter celebrated their treble in 2010, the people of Trapani flooded the city's streets to mark their promotion from Serie D.
image: © batrax