Goalflashes and major incidents (all times BST):
4-3 to Barnsley Alan Tate's penalty is saved by Nick Colgan and Barnsley are in the Championship to the delight of their supporters.
Tate and Lee Trundle sportingly congratulate Nick Colgan.
Barnsley supporters - cricketer Darren Gough and umpire Dickie Bird - look like they cannot believe Andy Ritchie's side have done it.
4-3 to Barnsley Anthony Kay keeps Barnsley in front.
3-3 Owain Tudur Jones' penalty keeps Swansea in the game.
3-2 to Barnsley Barnsley are in front thanks to Paul Heckingbottom's successfully taken penalty.
2-2 Swansea's Adebayo Akinfenwa misses the first penalty, shooting horribly over.
2-2 Chris Shuker's penalty is too good for Willy Gueret.
2-1 to Swansea Leon Britton finds the net with a poorly taken spot-kick.
1-1 Paul Hayes jogs up to the spot before sending Willy Gueret the wrong way.
1-0 to Swansea Lee Trundle sidefoots the ball into the corner of the net.
The penalties will be taken at the Swansea end with the Welsh club to take the first spot-kick.
The League Two play-off final will be decided by penalties.
30 +1 mins: Willy Gueret safely gathers the Barnsley corner and seconds later referee Lee Mason blows his whistle for the end of the game.
30 mins: A minute of stoppage time is indicated as Barnsley win a corner.
28 mins: Just as seems as if Barnsley will settle for penalties Andy Ritchie's side gets forward and their attack is only curtailed by a superb defensive clearance from Kevin Austin.
27 mins: Barnsley cannot get out of their area as Swansea continue to press.
25 mins: More trickery from Lee Trundle has the Barnsley defence in all sorts of trouble but his final shot is too high.
23 mins: Lee Trundle is causing Barnsley all sorts of problems. His cleverly executed turn wins a free-kick after he is fouled by Dale Tone, but Swansea waste the chance.
21 mins: Lee Trundle weaves his way into the box and sends a shot narrowly wide.
20 mins: Paul Heckingbottom makes a superb tackle to halt Adebayo Akinfenwa in his tracks.
19 mins: Swansea pepper the Barnsley goal with a series of shots, each one cleared by the Barnsley defence.
18 mins: Kevin McLeod surges down the left only to delay his pass to the unmarked Lee Trundle.
16 mins: The second period of extra-time is underway.
15 mins: Lee Trundle sets up a chance for Adebayo Akinfenwa, whose shot is too weak. Akinfenwa's chance proves the last action in the first period of extra-time.
14 mins: Barnsley defender Anthony Kay lunges in at Leon Britton but escapes a booking.
7 mins: Chris Shuker almost wriggles free before he is tackled by Kevin Austin.
6 mins: Chris Shuker is on for Barnsley as manager Andy Ritchie uses his last substitution.
5 mins: Within seconds of coming on Adebayo Akinfenwa's shot goes narrowly wide.
4 mins: Adebayo Akinfenwa comes on for Rory Fallon as Swansea make their second substitution.
2 mins: Swansea striker Lee Trundle shrugs off Anthony Kay before going close with a low shot.
1 min: Extra-time is underway at the Millennium Stadium
A thrilling League Two play-off final goes to extra-time.
90 +1 mins: Swansea defender Alan Tate misses a golden chance when he blasts the ball with just Nick Colgan to beat.
89 mins: Owain Tudur Jones bustles his way to the edge of the Barnsley box only to shoot well over the way.
87 mins: Stephen McPhail is starting to direct the play for Barnsley and almost releases Daniel Nardiello.
85 mins: Paul Reid almost snatches the winner for Barnsley. Barnsley's captain arrives at the far post only to head the ball narrowly wide with the goal at his mercy.
82 mins: Lee Trundle's superb pass frees Andy Robinson, who is unable to work room for a shot.
78 mins: The game's frenetic pace has caught up with both teams as the game enters a phase of midfield attrition.
75 mins: Lee Trundle causes problems for Barnsley with a surging run before passing to Andy Robinson, whose shot is too high.
72 mins: The injured Brian Howard comes off for Barnsley to be replaced by Dale Tonge.
70 mins: Lee Trundle is quickly into the game, releasing a pass for Rory Fallon, who is narrowly ruled offside.
69 mins: Lee Trundle comes for Leon Knight. Trundle, who has scored 21 goals this season, is without a goal in eight games.
67 mins: Lee Trundle is about to come on and as he warms up he is greeted by huge cheers from Swansea's fans.
66 mins: Swansea are back on the attack and Bobby Hassell makes an important headed clearance.
62 mins: GOAL Swansea 2-2 Barnsley
Barnsley pull level in this play-off final. Brian Howard is fouled on the edge of the box and Daniel Nardiello's free-kick find its way past the Swansea wall and keeper Willy Gueret.
59 mins: Barnsley are struggling to create any attacking chances with Swansea all too often outmuscling Andy Ritchie's side.
57 mins: Paul Reid keeps Barnsley in this play-off final making a superb challenge on Leon Knight.
55 mins: Andy Robinson miscues with an ambitious volley.
54 mins: A brief period of Barnsley pressure ends with Swansea goalkeeper Willy Gueret comfortably gathering a Stephen McPhail shot.
51 mins: Swansea goalkeeper Willy Gueret launches a counterattack with a quick throw that allows Leon Britton to sprint clear, but the Swans midfielder elects to shoot rather than cross.
48 mins: Leon Knight is allowed time and space to turn and send a shot narrowly over the bar.
47 mins: Barnsley defender Anthony Kay had torrid first half up against Rory Fallon and he gives away another free-kick.
46 mins: Swansea kick off as the second half gets underway.
Swansea deservedly lead 2-1 in the League Two play-off final.
45 + 1 mins: Andy Robinson almost grabs a third goal for Swansea with a low volley. Nick Colgan reacts quickly to block the shot on his line, before getting both hands on the ball as Leon Knight rushes in.
Bobby Hassell is booked for pushing Knight to the ground.
44 mins: Brian Howard skies a cleverly worked Barnsley free-kick that surprises the Swansea defence and soon after becomes the first player to be booked in the game.
41 mins: GOAL Swansea 2-1 Barnsley
Barnsley goalkeeper Nick Colgan gifts Swansea the lead. Andy Robinson's shot is straight at the Barnsley keeper, but Colgan allows the ball to squirm across the line.
37 mins: An injury to Stephen McPhail provides the first pause in a gripping game.
35 mins: Swansea put Barnsley under sustained pressure, with Andy Robinson going close with a shot.
34 mins: Leon Knight's claims for a penalty are ignored as referee Lee Mason waves play on.
32 mins: Leon Knight win a free-kick on the edge of the box, but Andy Robinson's shot is too low.
31 mins: Fallon helps out his defence, heading clear Stephen McPhail's effort off the line.
29 mins: GOAL Swansea 1-1 Barnsley
Swansea drew level with the goal of the play-off so far. Rory Fallon scores with a wonderfully executed bicycle kick after Owain Tudur Jones heads on. It is a goal a Brazilian would be proud of.
26 mins: Sam Ricketts is causing Barnsley problems and twice goes close with shots.
25 mins Leon Knight hits the post for Swansea, but the Swans striker is ruled offside.
20 mins GOAL: Swansea 0-1 Barnsley:
Against the run of play Barnsley are ahead. Paul Reid latches on to Kevin Austin's header after a Martin Devaney cross, volleying the ball past Willy Gueret.
19 mins: More good work from Andy Robinson is undone by Kristian O'Leary's wasteful pass.
15 mins: Paul Reid stays close to Leon Knight as the Swansea striker tries to find space to get in a shot.
14 mins: Andy Robinson manages to get in a cross to the far post that is headed clear by Paul Heckingbottom.
10 mins: Brian Howard lifts the spirits of Barnsley's fans as his low left-footed shot is pushed past the post by Willy Gueret. It is the closest either side has come to scoring.
9 mins: Andy Robinson is causing Barnsley problems down their right, though his crossing lets him down as Swansea continue to press.
5 mins: Referee Lee Mason plays the advantage allowing Daniel Nardiello to try his luck from distance with a shot.
3 mins: Swansea have started strongly - Leon Knight sets up a chance for Leon Britton, Owain Tudur-Jones gets a shot on goal, while Sam Ricketts puts in a dangerous cross.
2 mins: A patchy Millennium Stadium pitch is making control difficult for both teams.
1 min: The 2006 League Two play-off final is underway as Barnsley kick off.
Swansea have 35,000 fans in the Millenium Stadium, 15,000 more than Barnsley.
Swansea leave striker Lee Trundle on the bench as the Welsh club start with Leon Knight and Rory Fallon in attack.
Barnsley name the same side that beat Huddersfield 3-1 so impressively in the play-off semi-final second-leg.
Paul Hayes retained his place in Barnsley's team while Chris
Shuker had to make do with a place on the bench.