The 1998 spaghetti western The Man in the Iron Mask was produced by Randall Wallace.
Randall Wallace . He has since directed films such as The Man in the Iron Mask ( 1998 ) , We Were Soldiers ( 2002 ) , Secretariat ( 2010 ) , and Heaven Is for Real ( 2014 ) . The Man in the Iron Mask is a 1939 American film very loosely adapted from the last section of the novel The Vicomte de Bragelonne by Alexandre Dumas , père , which is itself based on the French legend of the Man in the Iron Mask . The Man in the Iron Mask is a 1998 American action drama film directed , produced , and written by Randall Wallace , and starring Leonardo DiCaprio in a dual role as the title character and villain , Jeremy Irons as Aramis , John Malkovich as Athos , Gerard Depardieu as Porthos , and Gabriel Byrne as D'Artagnan .