Lorenzo Pellegrini scored a last-gasp winner as Roma bounced back after their Italian Cup defeat by Spezia with a 4-3 win over the promoted side to move third in Serie A on Saturday.
Pellegrini blasted home in injury time, minutes after Daniele Verde had pulled Spezia level, with relieved Roma coach Paulo Fonseca racing to hug the midfielder.
“It was an incredible moment,” said Fonseca.
“It showed the team spirit. We needed to win this game and it would have been incredibly unfair not to after how we played.”
The capital side have been in turmoil since their chaotic 4-2 extra-time loss to Spezia on Tuesday.
The official scoreline was changed to 3-0 on Friday, as Roma made six substitutions, with just five allowed, during the last-16 clash which they finished with nine men.
Captain Edin Dzeko was left out of the team on Saturday, officially because of a muscular injury, but amid reports of a fall-out with Fonseca.
Borja Mayoral scored a double for the hosts, netting the first after quarter of an hour, only for Roberto Piccoli to pull 14th-placed Spezia level seven minutes later by pouncing on a mistake by home goalkeeper Pau Lopez.
Real Madrid loanee Mayoral slotted home his second on 52 minutes, before Rick Karsdorp tapped in to make it 3-1 three minutes later.
Calm after the storm
Diego Farias again responded for the visitors just before the hour, scoring the third goal of a dramatic six-minute spell at the Stadio Olimpico.
An error from Chris Smalling allowed former Roma winger Verde to equalise in the 90th minute, firing home left-footed after the England defender missed his attempted clearance.
Pellegrini had the final say, though, drilling the ball into the roof of the net from close range after Bruno Peres’ unselfish cutback.
It was a first league win in three games for Roma, after last week’s defeat by Lazio in the Rome derby and a draw with title rivals Inter Milan.
“The team has come through a really tough week where we lost two games that we shouldn’t have,” Pellegrini said.
“This should bring a bit of calm,” added the Italian international.
“As we don’t have another game for a week, it would have been tough to go through a full week, after everything that has already happened, without having won today too.”