
An actual historical figure, he "was a prisoner who was held in a number of jails, including the Bastille and the Chateau d'If, during the reign of Louis XIV of France. The identity of this man has been thoroughly discussed, mainly because no one ever saw his face which was hidden by a mask of black velvet cloth. Later retellings of the story have claimed that it was an iron mask."
For more information, see this article.