This is a sample congratulation letter to your friend on winning an election.
My warm congratulations to you on winning the election as president of your college Union. It is recognition of your efforts to solve the transportation problem faced by the students of your college.
It is certainly a reward you deserve. I can’t think of anyone who would have been a better choice. Carry on the good work.