Roma scored twice in the final five minutes to beat Cagliari 4-2 in their home match in the ninth round of the Italian championship.
The visitors took an early lead when M'Bala Nzola opened the scoring in the 10th minute. Roma responded quickly, with Emanuele Lulli equalising five minutes later.
Niccolo Pisilli then completed Roma's turnaround in the 22nd minute, putting the hosts 2-1 ahead before half-time.
Cagliari refused to concede defeat and restored parity eight minutes from the end. Daniel Maldini made it 2-2 in the 82nd minute, setting up a tense finish in the Italian capital.
Roma regained the advantage three minutes later when Rodrigo Mora scored in the 85th minute. Donyell Malen added a fourth goal two minutes afterwards to settle the match and complete the scoring.