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 .
The 1998 American action drama The Man in the Iron Mask was written by Woody Allen.