Definitely Gandalf, his knowledge and willingness to play the LONG GAME with the machinations of Middle Earth were tantamount to the outcome of history.