Magnanimous

adjective

Generous or forgiving, especially towards a rival or less powerful person.

Despite the fact that his opponent had been very critical of him, the winning candidate was magnanimous in his victory speech.