It took a last-gasp goal from Marcos Rojo to see Argentina through to the last 16 of the World Cup.
The match started well for the South Americans as Lionel Messi showed his brilliance once more, firing Argentina ahead after a sublime pass from Ever Banega.
Having missed a penalty in the 1-1 draw with Iceland in their opening game that felt like some modicum of redemption for a player who is often tasked with carrying the hopes of a nation on his shoulders.
Nigeria were level just after half time through a Victor Moses penalty and the Super Eagles then missed several presentable chances to put themselves ahead.
It was Rojo who had the final say though, firing his side ahead in the dying minutes and ensuring that the two-time world champions progressed to the knockout stages.
The tie against France - who finished top of Group C - will surely test a side that have looked far from fluent in their three games thus far.
The pace, power and direct running of Antoine Griezmann and Kylian Mbappe will be a worry for an ageing side whose frailties were expertly exposed by Croatia on matchday two. The Euro 2016 runners up are 15/2 (8.50) to go one better this time around.
Les Blues haven't been eye-catching themselves though, proving to be functional as opposed to overly impressive but Didier Deschamps' men have only conceded once and that defensive strength could prove the difference in the last 16.
If Argentina are to progress even further, they’ll likely need Messi to be at his very best once more.
The five-time Ballon d’Or winner is now 22/1 (23.0) to finish as the competition’s top scorer but having only netted his first goal in the third group game, the 30-year-old has plenty of catching up to do.