Royal Shakespeare CompanyMeasure for Measure, written between 1603 and 1604, is seen as one of Shakespeare's problem plays due to its shift in mood. Vienna is beset with brothels and loose morality, so it's up to the Duke to provide some divine intervention.