Nigel Pearson had an immediate impact as Bristol City boss as he saw his new side beat Middlesbrough 3-1 at the Riverside.
The former Leicester and Southampton manager, who will officially take charge on Wednesday, watched from the stand as City ended a seven-game losing run with three goals in 16 first-half minutes.
Famara Diedhiou scored the first two, heading home Adam Nagy's cross and firing home a shot from just inside the area, and then set up the third as he flicked on to send Nahki Wells racing clear of the Boro backline.
Dael Fry pulled a goal back for Middlesbrough with 10 minutes remaining.