Jermaine Easter forced a late own goal as Bristol Rovers came from behind to beat Swindon 2-1 at the County Ground.
Rovers scored two goals in two minutes to end their run of four consecutive draws, thus lifting themselves out of the relegation zone.
Swindon's Lloyd Jones, who missed the defeat to Bury due to suspension, bundled in a Yaser Kasim corner in the sixth minute to give his side the lead.
Rovers went in search of an equaliser and Chris Lines' free-kick was tipped on to the bar by goalkeeper Lawrence Vigouroux in the 16th minute.
Midfielder Ollie Clarke thought he had levelled the scores for his team in the 59th minute, but he was denied by the post after his shot had the Swindon goalkeeper beaten.
Rovers were awarded a penalty in the 82nd minute after Raphael Rossi Branco fouled Easter and Matty Taylor made no mistake from the spot to score his sixth goal of the season.
Clumsy defending from Swindon saw Branco turn Easter's cross into the back of the net for an 84th-minute winner.
tagged in Bristol