Cheltenham came from behind to beat Macclesfield and move top of the League Two table.
The hosts went ahead when Matthew Hamshaw's cross found Marcus Marshall at the back post, who poked the ball beyond keeper Scott Brown's reach.
Sido Jombati levelled the score from close range and Jeff Goulding gave the Robins the lead after half-time with a superb drive into the bottom corner.
Luke Garbutt's deflected free-kick late on sealed the win for Cheltenham.
Everton loanee Garbutt went close to claiming his first goal for the Robins early on, but keeper Jose Veiga forced his 25-yard free-kick wide.
Colin Daniel put his effort inches wide for the home side before debutant Marshall got on the end of Hamshaw's diagonal ball to put Macc ahead.
But their lead lasted just seven minutes as Alan Bennett's header found Jombati, who slammed home.
Cheltenham dominated the second half and went ahead when Goulding converted a neat Brian Smikle pass.
Keeper Brown denied Ben Mills a first senior goal when he palmed the youngster's header wide before Garbutt finished the game off deep in injury time with a free-kick that deflected heavily off Marshall.
Mark Yates' side now sit three points clear at the summit of League Two, although they have played a game more than Southend and Crawley in second and third respectively.
Macclesfield drop three places to 19th - eight points off the relegation zone.
VIEWS FROM THE DRESSING ROOM
Macclesfield boss Gary Simpson told BBC Radio Manchester:
"I don't think we got what we deserved today.
"We've lost to two contentious refereeing decisions and a deflected free-kick but I can't fault anyone's effort out there.
"Marcus Marshall has come in on loan and I'm pleased he's got a goal on his debut. We've been looking for someone to attack crosses at the back post and that's what he's done.
"There was a Premier League scout here today and he said to me there's not much between the two sides. Given the amount of injuries we've got I think that says everything about our performance."
Cheltenham Town assistant manager Neil Howarth told BBC Gloucestershire:
"We knew with the fixtures that were played today that at least a draw would have moved us top.
"We would have been disappointed if we weren't where we are. It's got a nice ring to it.
"They've been excellent all week in training but you don't know how they are going to respond off the back of a defeat.
"We came from a goal down and in the second half we dominated and were back to our best."
Goal! - Luke Garbutt - Macclesfld 1 - 3 Cheltenham Luke Garbutt grabs a goal direct from the free kick from outside the penalty box to the bottom left corner of the goal. Macclesfield 1-3 Cheltenham.
Unfair challenge on Marlon Pack by Tony Diagne results in a free kick.
Free kick awarded for an unfair challenge on Russell Penn by Colin Daniel. Free kick taken by Russell Penn.
90:00 +1:47 Substitution
Substitution (Cheltenham) makes a substitution, with Darryl Duffy coming on for Kaid Mohamed.
Kaid Mohamed has shot on goal from just outside the area which goes wide of the right-hand upright.
Substitution Michael Bakare replaces Arnaud Mendy.
Unfair challenge on Russell Penn by Waide Fairhurst results in a free kick. Direct free kick taken by Keith Lowe.
Substitution James Spencer comes on in place of Jeff Goulding.
Foul by Waide Fairhurst on Marlon Pack, free kick awarded. Marlon Pack restarts play with the free kick.
Direct free kick taken by Keith Lowe.
Substitution (Macclesfield) makes a substitution, with Waide Fairhurst coming on for Scott Kay.
Unfair challenge on Russell Penn by Arnaud Mendy results in a free kick.
Kaid Mohamed takes a shot. Blocked by Matthew Hamshaw.
Ben Mills takes a shot. Save by Scott P Brown. Corner taken right-footed by Marcus Marshall from the right by-line, Shaun Brisley takes a shot. Save by Scott P Brown.
The referee penalises Marlon Pack for handball. Free kick taken by Jose Veiga.
Effort from outside the box by Sido Jombati goes wide right of the target.
Substitution Russell Penn replaces Jermaine McGlashan.
Foul by Jeff Goulding on Tony Diagne, free kick awarded. Free kick taken by Tony Diagne.
Matthew Hamshaw takes a short corner.
Free kick awarded for a foul by Brian Smikle on Tony Diagne. Jose Veiga takes the free kick.
Free kick awarded for an unfair challenge on Scott Kay by Brian Smikle. Tony Diagne restarts play with the free kick.
Free kick awarded for an unfair challenge on Kaid Mohamed by Ben Mills. Scott P Brown takes the direct free kick.
The assist for the goal came from Brian Smikle.
66:03 Goal scored
Goal! - Jeff Goulding - Macclesfld 1 - 2 Cheltenham Jeff Goulding finds the back of the net with a goal from just outside the area to the bottom right corner of the goal. Macclesfield 1-2 Cheltenham.
Booking Scott Kay is cautioned by the ref for unsporting behaviour.
Foul by Scott Kay on Luke Summerfield, free kick awarded. Scott P Brown takes the direct free kick.
Brian Smikle produces a right-footed shot from the edge of the box and misses to the right of the target.
The ball is delivered by Matthew Hamshaw.
Luke Summerfield takes a shot. Shaun Brisley gets a block in.
Effort from the edge of the penalty box by Kaid Mohamed goes wide of the right-hand upright.
Corner taken by Marlon Pack, save made by Jose Veiga.
Unfair challenge on Marlon Pack by Arnaud Mendy results in a free kick. Free kick taken by Luke Garbutt.
The ball is swung over by Jermaine McGlashan, save by Jose Veiga.
Luke Garbutt takes a shot. Shaun Brisley gets a block in. Short corner worked by Jeff Goulding.
Outswinging corner taken from the right by-line by Marlon Pack.
Headed effort from deep inside the area by Ben Mills misses to the right of the goal.
The referee gets the second half underway.
45:00 +1:22 Half time
Half Time The match has reached half-time.
Colin Daniel takes a shot. Save by Scott P Brown.
Luke Summerfield takes the direct free kick. Luke Garbutt produces a left-footed shot from long range which goes wide right of the goal.
Booking Booking for Carl Tremarco.
Carl Tremarco concedes a free kick for a foul on Kaid Mohamed.
Outswinging corner taken right-footed by Matthew Hamshaw, clearance by Marlon Pack.
Free kick awarded for a foul by Luke Summerfield on Marcus Marshall. Direct free kick taken by Carl Tremarco.
36:36 Goal scored
Goal! - Sido Jombati - Macclesfld 1 - 1 Cheltenham Sido Jombati finds the net with a goal from close range to the top left corner of the goal. Macclesfield 1-1 Cheltenham.
Corner taken by Luke Garbutt from the left by-line.
Luke Summerfield takes a shot. Blocked by Shaun Brisley.
Kaid Mohamed takes a shot. Jose Veiga makes a save.
Colin Daniel fouled by Marlon Pack, the ref awards a free kick. Shaun Brisley restarts play with the free kick.
Outswinging corner taken from the left by-line by Luke Garbutt.
Jermaine McGlashan fouled by Carl Tremarco, the ref awards a free kick. Free kick taken by Marlon Pack.
Matthew Hamshaw provided the assist for the goal.
29:53 Goal scored
Goal! - Marcus Marshall - Macclesfld 1 - 0 Cheltenham Marcus Marshall gets on the score sheet with a goal from inside the penalty area to the bottom left corner of the goal. Macclesfield 1-0 Cheltenham.
The referee gives a free kick against Scott Kay for handball. Luke Garbutt takes the direct free kick. Marlon Pack has an effort at goal from 30 yards. Carl Tremarco gets a block in.
Brian Smikle produces a left-footed shot from the edge of the area and misses to the left of the target.
Marlon Pack produces a right-footed shot from the edge of the box and misses to the right of the goal.
Ben Mills produces a header from inside the area that goes over the crossbar.
Kaid Mohamed concedes a free kick for a foul on Tony Diagne. Tony Diagne restarts play with the free kick.
Marlon Pack handles the ball and concedes a free kick. Direct free kick taken by Matthew Hamshaw.
Short corner taken by Colin Daniel.
Marcus Marshall takes a shot. Jeff Goulding gets a block in. Outswinging corner taken by Matthew Hamshaw from the right by-line, Marlon Pack manages to make a clearance.
Free kick awarded for a foul by Ben Mills on Keith Lowe. Direct free kick taken by Luke Garbutt.
Luke Garbutt takes a shot. Outswinging corner taken right-footed by Marlon Pack from the right by-line, Shaun Brisley makes a clearance.
Free kick awarded for an unfair challenge on Kaid Mohamed by Arnaud Mendy.
Arnaud Mendy challenges Kaid Mohamed unfairly and gives away a free kick. Direct free kick taken by Keith Lowe.
Foul by Elliott Hewitt on Brian Smikle, free kick awarded. Marlon Pack restarts play with the free kick.
The ball is swung over by Brian Smikle, save by Jose Veiga.
Corner taken by Marlon Pack from the right by-line to the near post, Matthew Hamshaw makes a clearance.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.