ROME (AP) -- Roma was fortunate to come away with a 3-3 draw Sunday at Bologna, where Alessandro Diamanti hit both the post and crossbar for the hosts in the final minutes.
Greece midfielder Panagiotis Tachtsidis equalized for Roma in the 74th minute by heading in a free kick from Francesco Totti.
Diamanti, who showed glimpses of brilliance in Italy's squad at the European Championship, hit the post with a powerful long shot in the 87th then found the crossbar with an equally powerful and long free kick in the fourth minute of added time.
Alessandro Florenzi had given Roma the lead in the ninth after also taking a pass from Totti. Bologna forward Alberto Gilardino then made it 1-1 in the 17th but Pablo Osvaldo restored Roma's lead a minute later.
Manolo Gabbiadini equalized for Bologna in the 26th to make it 2-2, then Cristian Pasquato put Bologna ahead in the 54th by taking advantage of a defensive blunder.
While Roma beat Inter Milan in the first leg of the Italian Cup semifinals Wednesday, the Giallorossi extended their winless streak to four in Serie A.
Roma moved into a tie for sixth with AC Milan, which visits Atalanta later. Roma and Milan are each 15 points behind league leader Juventus, which drew 1-1 with Genoa on Saturday.
Bologna moved four points clear of the relegation zone.