Years of him swearing that he would never end up like his father and he was beginning to become more like him little by little.
In the sentence above, is "years of him" the subject?
Then, can I use these like "years of me", "years of her", "years of someone or something" as a subject in the context?
And what does it mean "years of him" in the context?