The judgement said that the 2014 legislation was "inconsistent with the constitution of the country."
The legislation criminalised any activity deemed pornographic, from wearing short skirts to writing risque songs, and led to increased public harassment of women who wore clothing considered too revealing.