Accused of having dented fan badly (9)
I believe the answer is:
defendant
'accused of' is the definition.
'defendant' can be an answer for 'accused' (I've seen this before). I'm not sure about the 'of' bit.
'dented fan badly' is the wordplay.
'badly' indicates anagramming the letters.
'dented'+'fan'='dentedfan'
'dentedfan' anagrammed gives 'DEFENDANT'.
'having' is the link.
Can you help me to learn more?
(Other definitions for defendant that I've seen before include "One charged" , "The one before the court" , "Person accused" , "Against whom an action is brought in a law court" .)