LGBT rights in Iran have come in conflict with the penal code since the 1930s. In post-revolutionary Iran, any type of sexual activity outside a heterosexual marriage is forbidden. Same-sex sexual activities are punishable by imprisonment, corporal punishment, fines, or execution. Gay men have faced stricter enforcement actions under the law than lesbians.