James McAvoy is a person.
James McAvoy ( [ ˈmækəvɔɪ ] born 21 April 1979 ) is a Scottish actor . He made his acting début as a teen in 1995 's The Near Room and continued to make mostly television appearances until 2003 , when his feature film career began and he continued to work in both areas from then on . He appeared opposite Angelina Jolie as a newly trained assassin in the action thriller Wanted ( 2008 ) . Since then , he is known for playing the young Professor Charles Xavier in the 2011 superhero film X-Men : First Class , a role he reprised in X-Men : Days of Future Past ( 2014 ) , and X-Men : Apocalypse ( 2016 ) .