Simeon Jackson headed home a dramatic late winner as Gillingham beat Shrewsbury 1-0 to win promotion back to League One.
Jackson, the Gills' top scorer, got free at the back post to head home a Josh Wright corner for his 21st goal of the season.
And the Canadian will have scored few more priceless, this one securing promotion for the Gills just a year after their relegation to the basement division.
The first 20 minutes passed with little more than mild panic at either end, but slowly it was Gillingham who got a grip on the encounter even if their attacking threat was nullified by the Shrews defence.
Shrewsbury captain Graham Coughlan diverted a John Nutter free-kick just past his own post, and from the corner Wright fired over the top.
The Gills worked the next corner well as Andy Barcham left the ball for Nutter, whose powerful shot was diverted over the top by a combination of Grant Holt and goalkeeper Luke Daniels. And Daniels was at it again in stoppage time of the first half, diving low to his right to claw away a Wright shot through a crowd of players.
The second half started in a similar fashion as Barcham wriggled free and cut inside before unleashing a right-foot shot which was bound for the top corner, but Daniels pushed it away.
Shrewsbury were notably better after the break, and the game benefited for that, becoming a much more open contest.
A smart move gave Ben Davies a clear run at goal, but his touch was heavy, allowing Barcham to get back and make a saving challenge, and Simon Royce saved Langmead's header from the resulting corner.
But after weathering the storm, the Gills took the lead as stoppage time approached from a Wright corner, which Jackson headed home despite the efforts of Neil Ashton on the line.
Copyright (c) PA Sport 2009, All Rights Reserved.