Mattia Destro struck a second-half winner on his return from a long injury lay-off to hand Roma a 2-1 win at home to Fiorentina which reduced the gap on leaders Juventus to three points on Sunday.
A run of four consecutive draws, coupled with Juventus's 2-0 win away to Bologna on Friday, had left Roma with a six-point deficit to the Serie A champions.
But despite the constant threat from a Fiorentina side intent on securing Champions League qualification for next season, Rudi Garcia's men dug deep to claim their first win since the end of October.
Destro, sidelined since the start of the season with injury, told Sky Sport Italia: "Being out for so long was frustrating but finally I'm back. To play again was wonderful and to score was the icing on the cake."
"It was a great performance and we're still unbeaten," said Garcia.
Having maintained since the start of the campaign that Roma's main objective is a top three finish and qualification for the Champions League, the French coach sent a scudetto warning to Juventus.
"Juve could win the title as well as the Champions League, and I wish them good luck for their trip (Tuesday) to Galatasaray," he added.
"But we're also in contention for the title. If we avoid too many injuries, we can have a great season."
Fiorentina remained in fifth, 13 points behind Juve but only five off Napoli, who sit third and in the first Champions League qualifying place.
Coach Vincenzo Montella called it a "balanced, open game" but admitted their fourth defeat had hurt: "Defeat hurts, because it was a crucial game in terms of results and our place in the table. But all defeats hurt."
Roma, who finished with 10 men after Miralem Pjanic saw red for a second bookable offence minutes from the final whistle, had Francesco Totti on the bench although the iconic skipper, returning from a long injury lay-off, failed to make an appearance.
Fiorentina started brightly, Juan Vargas testing home 'keeper Morgan De Sanctis with a low drive after Nenad Tomovic's delivery on three minutes.
However Roma soon had the Olympic Stadium on its feet when Brazilian defender Maicon controlled close to goal following good work by Gervinho at the byline to beat 'keeper Neto at his far post.
Roma's usually stout defence had conceded only four times before this game but was found wanting on 29 minutes when Tomovic's cut-back from the byline was smashed into the roof of the net by Juan Vargas from the edge of the area.
Destro replaced Alessandro Florenzi just before the hour and after Alberto Aquilani sent a first-time effort wide for the visitors Roma went on to enjoy a dominant spell.
After Ljajic, Kevin Strootman and Maicon were all denied, Fiorentina's defence finally capitulated when Gervinho zipped to the byline and cut back for Destro to beat Neto first-time at the keeper's near post.
Elsewhere, Cagliari, Torino, Chievo and Sampdoria secured precious wins that moved them up several places in the table, with Verona reinforcing sixth place thanks to a 2-1 home win against Atalanta.
Marco Sau scored a brace for Cagliari in a 2-1 home win over Genoa, his winner coming in second-half injury-time after Alberto Gilardino had levelled in the 16th minute.
A 19th minute strike from Kamil Glik was enough for Torino to clinch a 1-0 home win over Lazio, who dropped to 12th, while Cyril Thereau's second-half strike was enough for Chievo to beat Sassuolo 1-0 away to move out of the bottom three.
Sampdoria, meanwhile, claimed their first win under new coach Sinisa Mihajlovic with basement side Catania offering no reply to second-half goals from Eder and Manolo Gabbiadini.