Alain Traore’s stunning late free-kick defeated Ghana and sealed third place in the Africa Cup of Nations for Burkina Faso.
From the right of the 18-yard box, Traore hammered a left-footed effort into the top corner of the net.
It sent Ghana to fourth place for the third time in the past four tournaments.
Jordan Ayew, Edward Agyemang Badu and Bernard Tekpetey all missed chances for the Black Stars, who were made to pay by Traore.
It was a measure of consolation for Burkina, who were denied a place in the final by a penalty shootout defeat by Egypt.
Egypt is to meet Cameroon in Sunday’s final.