State laws prohibiting sodomy were on the books throughout US history until struck down by the US Supreme Court, which argued in Lawrence v Texas (2003) that the state cannot criminalize private sexual conduct.
In the past, forced sterilizations violated the autonomy of vulnerable women. Today, measures intended to protect such women from the abuses of the past may in fact hamper their autonomy in a different way.