Tunisia defeated Ghana 5-4 on penalties on Monday with Ferjani Sassi converting the decisive spot-kick to end a 54-year Africa Cup of Nations losing streak against the Black Stars.
After a 1-1 draw following extra-time in Ismailia, Tunisia scored from all five penalties while Ghana substitute Caleb Ekusan had his attempt saved by Farouk Ben Mustapha, who came off the bench especially for the shootout.
Victory was sweet for Tunisia as they had lost six times to Ghana in the African football showcase from 1965 after drawing the first meeting between the nations two years earlier.
On Thursday, the Carthage Eagles play giantkillers Madagascar in a quarter-final in Cairo with the winners meeting Senegal or Benin for a place in the July 19 final.
Losing on penalties ended a Ghana run of six consecutive top-four finishes in the Cup and puts the future of coach Kwesi Appiah in doubt.