Hugo Weaving is in `` Harry Potter and the Philosopher 's Stone '' .
He is best known for playing Agent Smith in `` The Matrix '' trilogy , 1999 -- 2003 , Elrond in `` The Lord of the Rings '' , 2001 -- 2003 , and `` The Hobbit '' film trilogies , 2012 -- 2014 , Quirinus Quirrell in `` Harry Potter and the Philosopher 's Stone '' , 2006 , Red Skull in `` Captain America : The First Avenger '' , 2011 , and Tom Doss in `` Hacksaw Ridge '' , 2016 .
Hugo Weaving