Hardy character has gravity to become a magistrate (4)
I believe the answer is:
jude
'hardy character' is the definition.
(I've seen this in another clue)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for jude that I've seen before include "Patron saint of hopeless cases" , "20 hero" , "Obscure Hardy character?" , "Hardy hero" , "Lost-causes saint" .)