James Collins' first-half header proved enough to earn Shrewsbury Town promotion to League One.
Graham Turner's men were deserved victors as they restored Town to the third tier of English football for the first time in 15 years.
But Swindon's home win over Port Vale ended any slim hopes of the League Two title for Town, who will now go up in second place.
Collins struck the only goal on 38 minutes, nodding in Nicky Wroe's cross.
In Turner's second season of his second spell as Shrewsbury boss, the former Aston Villa, Wolves and Hereford manager's triumph comes 33 years after his first promotion with the Shropshire club, who he led up to the old Division Two in 1979.
Salop on the up again?
- Promoted to Division Three - under Arthur Rowley, 1959
- Relegated 1974
- Promoted to Division Three - under Alan Durban, 1975
- Promoted to Division Two - under Graham Turner, 1979
- Relegated 1989
- Relegated 1992
- Promoted to Division Two - under Fred Davies, 1994
- Relegated 1997
- Relegated 2003
- Promoted back to Football League - under Jimmy Quinn, 2004
- Promoted to League One - under Graham Turner, 2012
It was also the 64-year-old's sixth successful promotion campaign, having also twice taken sides up with Wolves and Hereford United.
In front of a sell-out crowd, Shrewsbury's victory also ensured that they have gone unbeaten all season at the Greenhous Meadow, where they have not lost now since 1 March 2011.
Shrewsbury made much of the running from the first whistle, skipper Ian Sharps curling an early shot just wide from the edge of the box before Jermaine Grandison's header from a Matt Richards corner was cleared off the line by Brian Woodall.
Dagenham's only first-half chance came when Medi Elito's 20-yard drive drifted narrowly wide.
But the breakthrough Shrewsbury craved eventually came when Wroe's angled cross was headed home by top scorer Collins for his 16th goal of the season.
Home winger Mark Wright bent a shot just wide in the closing stages as Shrewsbury stretched their timely unbeaten late season run to nine matches.
At the other end, Shrewsbury registered their 19th clean sheet of the campaign, with keeper Chris Neal never seriously tested before the champagne corks were allowed to pop.
FROM THE DRESSING ROOM
Shrewsbury Town boss Graham Turner told BBC Radio Shropshire:
"It was a surprise when we went up in 1979. And the expectations were greater this season, but we've got there in the end.
"I don't know if the game lived up to expectations. I know one or two more goals going in would have helped us breathe a little easier, but results went our way elsewhere.
"We were sound and solid defensively, but the occasion and the result were more important.
"And I've got to pay tribute to the players. They've been fantastic all season. For all the hard work they've put in, they deserve everything they've got."
- 01 Neal
- 02 Grandison
- 03 Jacobson
- 05 Sharps
- 06 Cansdell-Sherriff
- 07 Wright
- 08 Wroe
- 14 Richards
- 20 Wildig (Taylor - 89' )
- 09 Collins
- 24 Gornell (Morgan - 71' )
- 25 Smith
- 15 Regan
- 04 McAllister
- 23 Taylor
- 10 Morgan
Dag & Red
- 30 Lewington
- 03 McCrory
- 04 Doe
- 36 Baudry
- 41 Spillane
- 12 Elito (Gain - 74' )
- 17 Howell
- 19 Ogogo
- 24 Bingham (Green - 74' )
- 10 Scott
- 23 Woodall (Abdulla - 84' )
- 27 Hogan
- 05 Rose
- 33 Gain
- 37 Green
- 43 Abdulla
Live Text Commentary
Full Time The game is over, as the referee blows his whistle.90:00 +2:08
The ball is sent over by Nicky Wroe, save by Chris Lewington.90:00 +1:45
The ball is delivered by Scott Doe, Nicky Wroe manages to make a clearance.90:00 +1:15
Scott Doe sends in a cross, clearance by Shane Cansdell-Sherriff.90:00 +1:05
The ball is crossed by Peter Gain.90:00 +0:39
Foul by Marvin Morgan on Michael Spillane, free kick awarded. Chris Lewington takes the direct free kick.89:56
Unfair challenge on Joe Jacobson by Josh Scott results in a free kick. Direct free kick taken by Mark Wright.88:05 Substitution
Substitution Jon Taylor on for Aaron Wildig.87:17
Mark Wright takes a shot. Blocked by Michael Spillane.85:29
Dominic Green produces a cross, Headed effort from deep inside the penalty area by Josh Scott misses to the left of the goal.85:25
Peter Gain produces a cross.83:33 Substitution
Substitution Ahmed Abdulla joins the action as a substitute, replacing Brian Woodall.78:31
Mark Wright has an effort at goal from outside the box which goes wide right of the target.74:16
Inswinging corner taken right-footed by Mark Wright from the left by-line, save by Chris Lewington.73:03 Substitution
Substitution Dominic Green on for Billy Bingham.73:03 Substitution
Substitution Medy Elito goes off and Peter Gain comes on.72:30
Marvin Morgan delivers the ball, Abu Ogogo manages to make a clearance. Inswinging corner taken by Matthew Richards.70:03 Substitution
Substitution Marvin Morgan on for Terry Gornell.69:31
Inswinging corner taken by Mark Wright from the left by-line.68:34
Unfair challenge on Mathieu Baudry by James Collins results in a free kick. Free kick taken by Chris Lewington.
Brian Woodall is caught offside. Chris Neal takes the indirect free kick.66:19
Jermaine Grandison crosses the ball, Scott Doe makes a clearance.65:35
Centre by Medy Elito, Jermaine Grandison makes a clearance.65:11
Centre by Abu Ogogo, clearance made by Joe Jacobson.64:43
Corner taken left-footed by Damien McCrory from the right by-line to the near post, Mark Wright makes a clearance.63:45
Luke Howell takes a shot. Inswinging corner taken left-footed by Damien McCrory played to the near post, clearance made by Joe Jacobson.62:55
The ball is crossed by Scott Doe, save made by Chris Neal.61:07
Medy Elito takes a shot. Joe Jacobson gets a block in. Corner taken by Damien McCrory from the right by-line played to the near post.60:03
Free kick awarded for an unfair challenge on Mathieu Baudry by Terry Gornell. Direct free kick taken by Mathieu Baudry.57:59
Luke Howell concedes a free kick for a foul on Ian Sharps. Direct free kick taken by Chris Neal.57:08
Terry Gornell takes a shot. Save by Chris Lewington.55:59
The ball is swung over by James Collins.54:47
The ball is delivered by Jermaine Grandison, Terry Gornell has an effort at goal from close in which goes wide right of the target.50:16
Unfair challenge on Nicky Wroe by Abu Ogogo results in a free kick. Direct free kick taken by Joe Jacobson.49:28
Damien McCrory takes a inswinging corner to the near post, Terry Gornell manages to make a clearance.48:47
Ian Sharps gives away a free kick for an unfair challenge on Josh Scott. Damien McCrory takes the free kick.45:41
Centre by Mark Wright.45:14
Abu Ogogo takes a shot. Save made by Chris Neal.45:01
The referee blows his whistle to start the second half.45:00 +1:06 Half time
Half Time The ref blows to end the first period.43:13
Mathieu Baudry fouled by Terry Gornell, the ref awards a free kick. Mathieu Baudry takes the free kick.41:07
The ball is delivered by Mark Wright.37:11
The assist for the goal came from Nicky Wroe.37:11 Goal scored
Goal! - James Collins - Shrewsbury 1 - 0 Dag & Red James Collins scores a headed goal from inside the box. Shrewsbury 1-0 Dag & Red.37:07
The ball is crossed by Nicky Wroe,36:37
Mark Wright takes a inswinging corner from the left by-line to the near post, Billy Bingham manages to make a clearance.36:30
The ball is crossed by Ian Sharps, Scott Doe manages to make a clearance.34:02
Shot by Luke Howell from outside the area goes high over the crossbar.31:38
Matthew Richards crosses the ball, Damien McCrory makes a clearance.30:50
The ball is swung over by Billy Bingham, clearance by Ian Sharps.29:41
The ball is sent over by Joe Jacobson, Mathieu Baudry manages to make a clearance.28:20
Luke Howell is penalised for a handball. Direct free kick taken by Chris Neal.27:15
James Collins is ruled offside. Chris Lewington takes the indirect free kick.26:36
Medy Elito produces a left-footed shot from just outside the box that misses to the right of the target.26:13
James Collins crosses the ball, Michael Spillane gets a block in.24:40
Shot by Nicky Wroe from outside the box goes high over the target.24:01
Corner taken by Matthew Richards from the right by-line, Jermaine Grandison takes a shot. Mathieu Baudry manages to make a clearance.23:55
A cross is delivered by Mark Wright, Damien McCrory manages to make a clearance.22:58
Handball decision goes against Luke Howell. Mark Wright takes the direct free kick.22:51
Joe Jacobson sends in a cross.22:16
Free kick awarded for a foul by Michael Spillane on Terry Gornell. Joe Jacobson restarts play with the free kick.21:09
The ball is swung over by Mark Wright, clearance made by Scott Doe. Inswinging corner taken from the left by-line by Mark Wright, Terry Gornell gives away a free kick for an unfair challenge on Michael Spillane. Chris Lewington restarts play with the free kick.20:21
The ball is sent over by Scott Doe, clearance made by Jermaine Grandison.18:48
The ball is crossed by Brian Woodall, Ian Sharps manages to make a clearance.14:24
Jermaine Grandison fouled by Josh Scott, the ref awards a free kick. Free kick taken by Matthew Richards.14:20
Centre by Scott Doe.13:29
Free kick awarded for an unfair challenge on Billy Bingham by Terry Gornell. Mathieu Baudry restarts play with the free kick.12:35
Centre by Nicky Wroe, Shot from just outside the box by Mark Wright misses to the left of the goal.12:30
Joe Jacobson delivers the ball, Josh Scott manages to make a clearance.12:19
The ball is swung over by Mark Wright, clearance made by Damien McCrory.10:55
Ian Sharps produces a right-footed shot from just outside the box that goes wide right of the goal.10:21
Corner taken by Matthew Richards, clearance made by Mathieu Baudry.10:15
The ball is crossed by Mark Wright, Damien McCrory makes a clearance.9:58
The ball is delivered by Mark Wright.7:53
The ball is delivered by Scott Doe, clearance made by Shane Cansdell-Sherriff. Effort from outside the penalty area by Damien McCrory goes wide left of the goal.7:40
Josh Scott sends in a cross, Shane Cansdell-Sherriff manages to make a clearance.6:21
Terry Gornell is flagged offside by the assistant referee. Indirect free kick taken by Chris Lewington.2:56
The ball is crossed by Medy Elito, Chris Neal makes a save.0:50
Brian Woodall takes a shot. Save by Chris Neal.0:00
The referee gets the game underway.
Live data and text provided by our data suppliers