The Man in the Iron Mask (1939)
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, père, which is itself based on the French legend of the Man in the Iron Mask.
More at Wikipedia.