By Press Association
Published: 21:48 GMT, 12 February 2020 | Updated: 22:06 GMT, 12 February 2020
Nahki Wells scored his first goal for Bristol City as they held off a spirited comeback from Derby to claim a thrilling Sky Bet Championship victory at Ashton Gate.
The hosts took a 38th-minute lead when Niclas Eliasson's deep cross from the right was volleyed back across goal by Jay Dasilva for Wells to mark his first start for the Robins with a powerful header.
It was 2-0 just before the break as Derby were again found wanting in the air. Famara Diedhiou's header from a right-wing corner was blocked, but centre-back Filip Benkovic pounced to nod home.
Forward Nahki Wells opened his account for Bristol City followng £4m switch from Burnley
The Rams did not learn their lesson and Ashley Williams headed down another Eliasson cross for Diedhiou to volley home a third after 58 minutes.
It looked to be all over, but three minutes later Martyn Waghorn dived to head home a Max Lowe cross and spark a spell of intense Derby pressure.
Chris Martin tapped home a low cross from Tom Lawrence in the 82nd minute to set up a frantic finish in which Lawrence had a deflected shot saved by City goalkeeper Dan Bentley.
The Bristol City striker headed home from close range in the 38th minute on Wednesday
Bristol City: Bentley, Hunt, Williams, Benkovic, Dasilva, Eliasson (Weimann 86), Smith (O'Dowda 78), Henriksen, Paterson, Diedhiou, Wells (Rowe 77).
Subs Not Used: Baker, Pereira, Wollacott, Palmer.
Goals: Wells 38, Benkovic 44, Diedhiou 58.
Derby: Hamer, Bogle, Wisdom, Clarke, Lowe, Bird (Marriott 89), Holmes, Waghorn, Rooney, Lawrence,