by dint of
by dint of (something)
as a result of or because of something.
By dint of hard work, I had risen to the position of district principal.
Cambridge English Idioms Dictionary