Given the below context:  Don Diego Vega is urgently called home by his father. To all outward appearances, he is the foppish son of wealthy ranchero and former Alcade Don Alejandro Vega, having returned to California after his military education in Spain.  Don Diego is horrified at the way the common people are now mistreated by the corrupt Alcalde, Luis Quintero, who had forced his father from the position of Alcalde. Don Diego adopts the guise of El Zorro ("The Fox"), a masked outlaw dressed entirely in black, who becomes the defender of the common people and a champion for justice.  In the meantime he romances the Alcalde's beautiful and innocent niece, Lolita, whom he grows to love. As part of his plan, Don Diego simultaneously flirts with the Alcalde's wife Inez, filling her head with tales of Madrid fashion and culture and raising her desire to move there with her corrupt husband, Luis.  In both his guises Don Diego must contend with the governor's ablest henchman, the malevolent Captain Esteban Pasquale. He eventually dispatches the Captain in a fast-moving rapier duel-to-the-death, forcing a regime change; Don Diego's plan all along.  Guess a valid title for it!
The answer to this question is:
The Mark of Zorro (1940 film)