The Montana Senate voted Wednesday to remove an obsolete state law that criminalized gay sex -- a sea change moment for Senate Republicans who bucked their party's platform on the issue.

The Montana Supreme Court struck down the law in 1997, and Senate Bill 276 carried by Sen. Tom Facey would remove it from state code. The Missoula Democrat said the measure would provide equal protection under the law for all Montanans.