The black stars of Ghana are through to the semi-final of the ongoing Africa Cup of Nations in Gabon.
Dede Ayew stepped up and calmly converted for his second of the tournament and his eight of the Cup of Nations to equal Asamoah Gyan's record.
In a game that only properly sparked to life in the second half in Oyem, DR Congo - and their captain Dieumerci Mbokani in particular - were left to rue several missed chances early on.
Ghana, missing injured captain Asamoah Gyan, barely mustered a shot on goal in the first half and almost fell behind in the seventh minute when Dieumerci Mbokani pounced on a mistake but hit the post from a hard angle.
Wakaso set up the first goal when he won possession in DR Congo's half and slipped the ball to 25-year-old Aston Villa forward Jordan Ayew who held off his marker and curled the ball past Matampi from the edge of the area.
However, the Black Stars managed to see out the rest of the encounter to secure their passage into the final four. Ghana's West Ham United striker Andre Ayew, 27, made no mistake from the spot as he sent Matampi the wrong way.
The final minutes saw Ghana dictate the pace of the game and play on the break though the Congolese also had few opportunities before the match ended. The lead lasted only 7 minutes as Mpoku, fired in a beauty for the Congolese from just outside the penalty area.
Ghana were awarded a penalty in the 77th minute when Christian Atsu was brought down.
Morocco failed to clear the bouncing ball and the substitute Kahraba hooked it home from close range.