Hosts Gabon were eliminated from the 2017 Africa Cup of Nations on Sunday as they drew 0-0 with Cameroon, leaving them third in Group A.
Burkina Faso's 2-0 victory over Guinea-Bissau sees them win the group and qualify, as the Indomitable Lions claimed second place.
Gabon become only the third home nation in history to be eliminated in the opening group stages of competition, per BBC Sport.
Pierre-Emerick Aubameyang missed a great chance to save his country's ambitions, but the world-class striker could not find the net.
Here are Sunday's results and latest standings from Group A:
|AFCON 2017: Sunday's Group A Results|
|AFCON 2017: Group A Standings|
Aubameyang could not save the hosts against Cameroon, with Gabon earning only a third straight draw of the competition in a goalless affair.
Cameroon goalkeeper Fabrice Ondoa was the busier of the two stoppers, denying the Borussia Dortmund hitman and team-mate Denis Bouanga.
The Indomitable Lions knew a draw would be enough to keep their noses ahead of the Panthers in the group, and they stage-managed their tactics to produce a result.
Bouanga was denied a dramatic winner in the final seconds that would have seen the hosts claim a qualifying berth, but his effort crashed off the post.
Bleacher Report UK @br_uk
Pierre-Emerick Aubameyang and Gabon’s #AFCON2017 dream is over. https://t.co/GMS2se8hY82017-1-22 20:52:50
Burkina Faso won the group in style, defeating Guinea-Bissau 2-0 in a composed performance.
The winners were given a gift in the 11th minute as Rudinilson Silva headed an own goal past onrushing goalkeeper Jonas Mendes.
Chelsea forward Bertrand Traore, on loan at Ajax, made sure of victory shortly before the hour mark, finishing with ease as he remained cool and calm.
The Stallions prevailed as their opponents struggled in attack late in the game after a promising start.
Piqueti had Guinea-Bissau's best opportunity, but the Braga winger lost concentration at the vital moment, spurning the chance of an equaliser.
Gabon's elimination is a shock, but they relied too heavily on Aubameyang to provide the magic.
The host nation struggled throughout the competition, and they were punished by disciplined opponents, who shut the door on their ambitions.