Brentford held out to secure an entertaining win over Chesterfield.
Leon Legge glanced in Sam Saunders' free-kick to give the visitors the lead, before a Saunders break was finished off by Toumani Diagouraga.
Scott Boden fired against the post and Franck Moussa lashed in the rebound for the hosts, but Clayton Donaldson headed in for 3-1.
Mark Allott pulled one back from 20 yards for the Spireites late on, but it was not enough.
VIEWS FROM THE DRESSING ROOM
Chesterfield manager John Sheridan told BBC Radio Sheffield:
"I thought we actually played quite well. I think it just summed up the way things have gone today.
"Second half I thought we were right in the game and could have scored more goals, but it's about keeping the ball out of your net.
"The three goals are very soft and that's been a big downfall throughout our season."
Brentford boss Uwe Rosler told BBC London 94.9:
"I think one of the highlights of the season was the way we played at Charlton, it showed what we were capable of.
"The worst moment was the Huddersfield game, we played fantastically but got robbed.
"Overall I think we have been inconsistent in the League. Unfortunately we didn't have the last little bit but I thank the players for their commitment.
"Next season we will challenge from the word go."
Sorry, we were unable to load match stats, please try again.
Live Text Commentary
Full Time The referee blows for the end of the match.90:00 +2:40 Goal scored
Goal! - Mark Allott - Chesterfld 2 - 3 Brentford Mark Allott fires in a goal from a long way out to the top left corner of the goal. Chesterfield 2-3 Brentford.90:00 +2:04
Tendayi Darikwa delivers the ball, clearance by Jake Reeves.90:00 +0:59
Franck Moussa takes a shot. Save by Simon Moore.89:38
Free kick awarded for an unfair challenge on Clinton Morrison by Craig Clay. Jonathan Douglas restarts play with the free kick.88:26
Craig Westcarr sends in a cross, Simon Moore makes a save.88:12
Tendayi Darikwa crosses the ball, clearance by Jake Reeves.87:09
Corner taken short by Jamie Lowry.85:56
Liam Ridehalgh delivers the ball from the free kick left-footed from right channel, Leon Legge manages to make a clearance.85:56 Substitution
Substitution Jake Bidwell goes off and Adam Thompson comes on.85:56
Free kick awarded for an unfair challenge on Jordan Bowery by Harlee Dean.84:11
The ball is swung over by Scott Boden.82:34
Craig Westcarr takes a shot. Leon Legge gets a block in.79:24
Assist by Jake Reeves.79:24 Goal scored
Goal! - Clayton Donaldson - Chesterfld 1 - 3 Brentford Clayton Donaldson fires in a goal from inside the penalty area high into the middle of the goal. Chesterfield 1-3 Brentford.78:42
Outswinging corner taken by Jake Reeves,78:03
Outswinging corner taken right-footed by Jake Reeves, clearance by Craig Clay.76:57 Substitution
Substitution (Brentford) makes a substitution, with Jake Reeves coming on for Sam Saunders.76:16
Corner taken by Sam Saunders from the left by-line, save made by Tommy Lee.75:59
Jonathan Douglas takes a shot. Craig Clay gets a block in.
Sam Saunders takes the free kick.75:06 Booking
Booking Tendayi Darikwa receives a caution for unsporting behaviour.74:56
Free kick awarded for a foul by Tendayi Darikwa on Toumani Diagouraga.74:43
The ball is swung over by Mark Allott, Leon Legge makes a clearance.73:55
Effort from inside the area by Jordan Bowery misses to the left of the target.73:05
Mark Allott has an effort at goal from just outside the box which goes wide of the left-hand upright.72:34
Inswinging corner taken by Craig Westcarr, Toumani Diagouraga manages to make a clearance.72:21
Franck Moussa sends in a cross, clearance made by Leon Legge.71:57
The ball is crossed by Franck Moussa, Craig Westcarr takes a shot. Save by Simon Moore.71:10
Corner taken by Franck Moussa, clearance made by Leon Legge.68:37
Scott Boden provided the assist for the goal.68:37 Goal scored
Goal! - Franck Moussa - Chesterfld 1 - 2 Brentford Goal scored by Franck Moussa from the edge of the area to the top left corner of the goal. Chesterfield 1-2 Brentford.68:24
Scott Boden has an effort at goal from the just inside the box hitting the post.65:07 Substitution
Substitution Josh Thompson goes off and Craig Clay comes on.62:05 Substitution
Substitution (Brentford) makes a substitution, with Clinton Morrison coming on for Harry Forrester.60:21
Leon Legge gives away a free kick for an unfair challenge on Craig Westcarr. Strike comes in from Jamie Lowry from the free kick, save by Simon Moore.58:36
Assist by Sam Saunders.58:36 Goal scored
Goal! - Toumani Diagouraga - Chesterfld 0 - 2 Brentford Toumani Diagouraga scores a goal from deep inside the penalty box high into the middle of the goal. Chesterfield 0-2 Brentford.56:43
Scott Boden produces a cross.54:32 Substitution
Substitution Mark Randall goes off and Scott Boden comes on.53:49
Sam Saunders takes a shot. Blocked by Josh Thompson.53:06
The ball is sent over by Shaleum Logan.51:54
The referee blows for offside. Tommy Lee takes the direct free kick.49:14
Effort from the edge of the area by Clayton Donaldson goes wide of the right-hand post.47:08
Franck Moussa takes the inswinging corner, clearance by Shaleum Logan.47:02
A cross is delivered by Craig Westcarr, clearance by Leon Legge.46:27
Centre by Jake Bidwell, save made by Tommy Lee.45:45
Harry Forrester sends in a cross, Josh Thompson makes a clearance.45:01
The second half kicks off.45:01 Substitution
Substitution Noel Alexandre Mendy goes off and Jamie Lowry comes on.45:00 +1:27 Half time
Half Time The half-time whistle blows.45:00 +1:18
The ball is sent over by Harry Forrester.45:00 +0:50
Outswinging corner taken right-footed by Sam Saunders from the right by-line, Josh Thompson manages to make a clearance.45:00 +0:12
Free kick awarded for a foul by Noel Alexandre Mendy on Jonathan Douglas. Shaleum Logan takes the direct free kick.44:14
Jake Bidwell produces a left-footed shot from the edge of the area and misses to the left of the target.43:05
Jonathan Douglas concedes a free kick for a foul on Craig Westcarr. Craig Westcarr produces a shot on goal direct from the free kick, save by Simon Moore.41:36
Harry Forrester delivers the ball.38:50
Clayton Donaldson delivers the ball.38:00
Drew Talbot concedes a free kick for a foul on Harry Forrester. Shaleum Logan takes the free kick.35:35
Jake Bidwell delivers the ball, Harry Forrester takes a shot. Save by Tommy Lee.35:05
Centre by Harry Forrester, save by Tommy Lee.34:07
Clayton Donaldson fouled by Josh Thompson, the ref awards a free kick. Direct free kick taken by Jonathan Douglas.33:02
Mark Randall takes a shot. Save made by Simon Moore.30:25
Shot from long distance by Mark Randall misses to the right of the goal.29:42
Franck Moussa delivers the ball.26:22
Josh Thompson challenges Sam Saunders unfairly and gives away a free kick. Direct strike on goal from the free kick comes in from Sam Saunders, save made by Tommy Lee.25:36
Long range effort by Drew Talbot goes harmlessly over the crossbar.24:43
Drew Talbot produces a cross, Pim Balkestein makes a clearance.24:18
The ball is sent over by Jordan Bowery, Leon Legge manages to make a clearance.22:47
Noel Alexandre Mendy takes a shot. Simon Moore makes a comfortable save.22:29
Jake Bidwell sends in a cross, save by Tommy Lee.21:30
The assistant referee signals for offside against Clayton Donaldson. Liam Ridehalgh restarts play with the free kick.21:03
Noel Alexandre Mendy decides to take the corner short.20:55
The ball is swung over by Mark Allott, Shaleum Logan makes a clearance.20:28
A cross is delivered by Tendayi Darikwa, Harlee Dean makes a clearance.19:55
The ball is sent over by Jordan Bowery.18:29
Franck Moussa takes a shot. Leon Legge gets a block in.17:20
Outswinging corner taken right-footed by Franck Moussa.17:04
The ball is swung over by Jake Bidwell, Josh Thompson manages to make a clearance.16:07
A cross is delivered by Tendayi Darikwa, Shaleum Logan manages to make a clearance.15:45
Inswinging corner taken right-footed by Franck Moussa from the left by-line, save by Simon Moore.15:30
Franck Moussa takes a shot. Save by Simon Moore.14:11
Handball by Jordan Bowery. Pim Balkestein takes the free kick.13:44
Clayton Donaldson gives away a free kick for an unfair challenge on Liam Ridehalgh. Direct free kick taken by Tommy Lee.11:43
Jake Bidwell provided the assist for the goal.11:43 Goal scored
Goal! - Leon Legge - Chesterfld 0 - 1 Brentford Leon Legge finds the back of the net with a headed goal from close range. Chesterfield 0-1 Brentford.10:23
Free kick awarded for a foul by Tendayi Darikwa on Jake Bidwell. The free kick is swung in right-footed by Jake Bidwell.7:32
The ball is delivered by Tendayi Darikwa, Simon Moore makes a save.6:45
Toumani Diagouraga concedes a free kick for a foul on Franck Moussa. Free kick crossed by Mark Randall, Leon Legge manages to make a clearance.6:32
Pim Balkestein crosses the ball, clearance by Drew Talbot.3:50
Harry Forrester fouled by Drew Talbot, the ref awards a free kick. Shaleum Logan takes the free kick.2:56
Drew Talbot sends in a cross, save made by Simon Moore.1:50
Mark Randall concedes a free kick for a foul on Jake Bidwell. Strike comes in from Jake Bidwell from the free kick, blocked by Josh Thompson.1:14
The ball is sent over by Harry Forrester, clearance by Drew Talbot.0:00
The referee gets the game started.
Live data and text provided by our data suppliers