Captain Monastario finally realizes that Don Diego must be Zorro, and arrests him, but a Viceroy from the King of Spain who is visiting the pueblo turns out to be an old friend of Diego's, and this is just enough to allow Zorro to turn the tables and have Monastario discredited.