DThe Democratic Republic of Congo sealed their place in Egypt with a 1-0 win over Liberia in Kinshasa.
In a match where nerves were tested, Liberia were the team heading to the finals until the 52nd minute when China-based Cedric Bakambu made it 1-0 to the hosts.
That put DR Congo second in the table, behind Zimbabwe, and relegated Liberia to third place.
Liberia brought on Newcastle’s under-23 midfielder Mohammed Sangare in the second half as he made his international debut.
But DR Congo held firm and secured the victory they needed to go through to the finals in Egypt.
The 2019 Africa Cup of Nations will, for the first time, take place in June and July and will feature 24 teams rather than 16.