From a family the supported "the dark lord." Leaves before the final takedown. Mentor to the person who eventually defeats "he who must not be named."
Better analogy for Samson is Snape, except Samson is upbeat and likeable (a huge difference).
Allied with the enemy. Trades sides, and his actions eventually leads to the downfall of his former alliance.