Joel Edgerton born 23 June 1974 is an Australian actor director writer and producer He has appeared in the films Star Wars Episode II Attack of the Clones 2002 Star Wars Episode III Revenge of the Sith 2005 Warrior 2011 Zero Dark Thirty 2012 The Great Gatsby 2013 Black Mass 2015 Loving 2016 It Comes at Night 2017 and Red Sparrow 2018 and The King 2019 In 2015 Edgerton received a nomination for the Directors Guild of America Award for Outstanding Directing FirstTime Feature Film for The Gift a psychological horrorthriller film Edgerton wrote directed coproduced and in which he costarred Edgerton garnered further critical acclaim for his performance as Richard Loving in the 2016 historical drama Loving for which he received a nomination for the Golden Globe Award for Best Actor In 2018 he wrote directed and starred in the drama Boy Erased about gay conversion therapy In 2019 he starred and cowrote The King