I came across the following sentence in this [link] (When to use the gerund form of a verb after "to"?).
"As an example of domestic violence, she referred to his beating her up".
Could someone help me understand why it's "his beating her up" and not "him beating her up"?
I was not able to find similar examples online ...
Thank you!