Brentford ended their season with a 3-2 win away to already relegated Chesterfield.
The Bees went ahead in the first half through a goal credited to Leon Legge and Toumani Diagouraga doubled the lead after half time.
Franck Moussa pulled one back for Chesterfield, who pressed hard for an equaliser.
But Brentford were always the better team and Clayton Donaldson scored the third late on to seal the win.
Mark Allott pulled one back in stoppage time to make the score 3-2 but The Bees were well worth their win.
Brentford started well and played all the football in the first ten minutes.
Sam Saunders had an early free kick blocked before he delivered the set piece for the opener 11 minutes in.
Brentford earned the free kick after nice play on the left and when Saunders put it in, Legge rose with Josh Thompson and the ball flicked a head and ended in the back of the net.
It looked as if it flicked in off the defender but Legge was given the goal although Saunders will also be trying to claim it.
Chesterfield reacted well to going behind and had the better of the next 20 minutes, without ever really looking like scoring.
Simon Moore did have to make a few saves, but nothing overly taxing.
The Brentford goalkeeper kept out a curling Jordan Bowery shot and then an effort from Moussa after a break forward.
Moussa had another effort deflected wide and then one blocked by Harlee Dean before Legge made a fine tackle to deny Bowery.
Drew Talbot shot over for the hosts before Mark Randall blazed wide and then fired straight at Moore as Chesterfield were limited to efforts from long range.
Brentford took control again towards the end of the first half - Saunders saw a curling free kick saved by Tommy Lee and the goalkeeper denied Harry Forrester soon after.
Donaldson fired just wide of the far post after being fed by Saunders and Jake Bidwell headed wide soon after.
Saunders curled a shot wide after Forrester won the ball in Chesterfield territory and a Legge header was blocked as half time approached.
Moore kept out a Craig Westcarr free kick in the dying stages of the half as Brentford went in ahead.
Donaldson could have scored just after the break when he turned on the edge of the penalty area and shot wide after good work by Jonathan Douglas.
Saunders had a shot blocked after picking up a Bidwell pass and at the other end Douglas blocked a Moussa effort.
Brentford doubled their lead with a fine goal just before the hour mark - Diagouraga won the ball in midfield and burst forward, he fed Saunders and held back for the return pass before placing the ball past Lee and in to the net from 15 yards.
Moore saved a Jamie Lowry free kick as Chesterfield tried to respond but Brentford appeared to have them at arms' length.
But a goal out of nothing changed the flow of the game.
Chesterfield won the ball in midfield and Scott Boden let fly from 20 yards, his shot hit the far post and bounced back to Moussa, who slotted home from the edge of the penalty area.
The home side started to push on, feeling they could get something from the game.
Moore made a superb save from a Westcarr header and Moussa shot wide after Brentford lost an aerial battle.
Bowery had a great chance to level when Dean was caught out and the striker raced in behind but he pulled his shot across the face of goal.
Brentford needed to change the momentum of the game and did so with Donaldson and Douglas getting in amongst the home side.
Douglas came close to scoring Brentford's third after exchanging passes with Clinton Morrison and bursting from midfield but his shot deflected just wide.
Donaldson's effort from a Jake Reeves corner was blocked away but when the ball came in again from the next corner, the Brentford striker made no mistake - heading home from 12 yards.
Dean blocked a Westcarr effort before the Chesterfield striker couldn't turn in a cross and a Liam Ridehalgh free kick flew across the face of goal.
Moore saved a Westcarr effort but could do nothing when Allott let fly from 30 yards and rifled in the fifth goal of the afternoon.
But there was no time for more action and Brentford ended the season with a win.
Chesterfield:Lee; Darikwa, Ridehalgh, Thompson (sub Clay 66 mins), Talbot; Allott; Randall (sub Boden 55 mins), Moussa, Mendy (sub Lowry h/t); Bowery, Westcarr
Subs (not used): Fleming, Niven
Bookings: Darikwa (76 mins)
Brentford:Moore; Logan, Legge, Dean, Balkestein; Forrester (sub Morrison 63 mins), Douglas, Diagouraga, Bidwell (sub Thompson 87 mins); Saunders (sub Reeves 78 mins); Donaldson
Subs (not used): McGinn, Norris
Bookings: Diagouraga (60 mins) (seventh of season)
Attendance:5,699 (518 Bees fans)
By Chris Wickham