Udinese marked its 120th anniversary with a last-gasp victory against 10-man Bologna.
Bologna defender Erick Pulgar was sent off in the 68th following two yellow cards in 10 minutes.
It looked as if Bologna was going to take a vital point, despite its numerical disadvantage, but Udinese captain Danilo acrobatically volleyed Silvan Widmer's cross in off the underside of the crossbar in stoppage-time.
It was a magnificent strike no doubt appreciated by Udinese's record goalscorer Antonio Di Natale, who was among a number of former players in the stands at Stadio Friuli.
Stipe Perica should have put Udinese in front earlier but fired over the bar from a good position and also had a header from point-blank range brilliantly stopped by Bologna goalkeeper Antonio Mirante.
Udinese moved up to 13th, while Bologna slipped to 16th, eight points off the relegation zone.