Ghana eased through to the quarter-finals of the Africa Cup of Nations by beating Niger to finish top of Group B.
Captain Asamoah Gyan was instrumental throughout and he set the Black Stars on their way when he controlled Albert Adomah's cross and the drove home.
Gyan then turned provider as he crossed for Christian Atsu, who chested the ball down before poking it in.
Ghana wrapped up the win when Gyan's header was parried by Daouda Kassaly and John Boye tapped in the rebound.
It was a comprehensive victory and a solid performance from a Ghana team that went into the game knowing they only needed a draw to make it through to the last eight.
Thirty-one years of hurt
Ghana last won the Nations Cup in 1982
Niger's hopes of progressing were slim and they were blown away by the pace and precision of the Black Stars, who clinched top spot in the group on seven points to set up a meeting with debutants Cape Verde.
The Nigeriens may look back on a goal that was disallowed with the score at 1-0 but the gulf in class between the sides was apparent and they can have no complaints about the result.
Gyan was a huge factor in Ghana's dominance, the striker rising to the challenge of captaincy - a responsibility that some had questioned whether he could handle before the tournament - to deliver a clinical and emphatic performance.
He put his side in front when he controlled Adomah's cross from the right with a deft touch and then lashed the ball beyond Kassaly.
Then came a moment that might have made life more difficult for Ghana, as Koffi Dan Kowa drilled in from six yards but had the goal ruled out as the referee ruled Moussa Maazou has pushed Ghana keeper Fatau Dauda.
It looked a harsh decision and deprived Niger of their first goal of the tournament.
But it is unlikely it would have affected the outcome as Ghana were by far the superior team and they reinforced their dominance soon after when Atsu made Niger pay for some poor defending.
After robbing Dan Kowa, he played the ball out wide to Gyan and carried on his run into the box where he collected his skipper's cross, evaded a comical challenge from a defender and slipped the ball into the net.
Steep learning curve
Niger finish bottom of the group on one point in their second Nations Cup
Under-fire keeper Kassaly did well to keep Agyemang Badu's shot out, diving to his left to push the ball round the post but there was little respite for the Niger stopper.
Four minutes after the break, he was picking the ball out of the net again. He kept out Asamoah's header on the goal-line but was unable to stop Boye pouncing on the rebound and tapping in.
With the game effectively over as a contest, the pace slowed and it was Niger who almost took advantage.
Maazou rose at the near post and should have done better with a header that he mistimed and sent off target. It was a rare offensive moment from Niger, who go home from their second Nations Cup without scoring a goal.
Ghana were also guilty of wasting a good chance to score when Adomah crossed to the far post for Gyan and the forward failed to get his foot over the ball, sending his shot well wide.
Not that it mattered for the Black Stars or Gyan, who was still given a rapturous reception when he was substituted soon after with his side already assured of their place in the knockout stages.
Ghana coach Kwesi Appiah:
"We stepped up our game and won against a good Niger team. We hope to do better as we progress in this competition."
Niger coach Gernot Rohr:
"I am proud of my players despite the loss. They displayed courage and the future is bright. We were up against a better, faster team today."
- 16 Daouda
- 08 Kourouma
- 13 Chicoto Booked
- 18 Dan Kowa Booked
- 19 Koudize Booked (Issoufou - 61' )
- 21 Bachar (Amadou - 60' )
- 23 Soumaila Booked
- 03 Lancina
- 10 Talatou
- 02 Maazou
- 07 Sidibe (Issoufou - 79' )
- 01 Alzouma
- 04 Amadou
- 05 James
- 15 Alassane
- 06 Laouali
- 12 Sakou
- 14 Issoufou
- 17 N'Gounou
- 09 Kamilou
- 11 Issoufou
- 16 Dauda
- 04 Pantsil
- 15 Vorsah
- 21 Boye
- 23 Afful
- 07 Atsu
- 08 Agyemang Booked
- 10 Adomah (Asante - 63' )
- 11 Rabiu (D Boateng - 72' )
- 20 Asamoah
- 03 Gyan (Clottey - 78' )
- 01 Adjei
- 02 R Boateng
- 05 Awal
- 13 Akaminko
- 19 Mensah
- 06 Annan
- 09 D Boateng
- 14 Asante
- 17 Clottey
- 18 Boakye
Ref: Badara Diatta