(CBS SF) — The Supreme Court ruled on Friday that the Constitution gives same-sex couples across the county an equal right to marry.

The court’s 5-4 ruling means the remaining 14 states, in the South and Midwest, will have to stop enforcing their bans on same-sex marriage.

READ MORE: Amazon Web Services Reports Major Outage; Netflix, Venmo, Instacart Among Many Affected Sites

Gay rights supporters cheered, danced and wept outside the court when the decision was announced. Here in California, liberal politicians took to Twitter to celebrate the momentous news:

GAVIN NEWSOM: The day has finally come when loving couples can get married regardless of their sexual orientation. Thank you to the five justices.

NANCY PELOSI: SCOTUS has unequivocally affirmed that equal justice means marriage equality for LGBT Americans! goo.gl/UtTR36 #LoveCantWait

KAMALA HARRIS: Let the wedding bells ring!

READ MORE: 'Prolific' San Francisco Retail Theft Suspect Back In Jail After New Arrest

ED LEE: Now all loving same sex couples guaranteed the right to marry as everyone else across our country!

MARK LENO: A victory for our entire nation! I am so proud.

LORETTA SANCHEZ: I joyfully welcome this long overdue affirmation of same-sex couples’ love as true and legitimate

SAM LICCARDO: The Supreme Court has finally delivered on a long overdue obligation of our Constitution to the millions of our brothers and sisters …

MORE NEWS: Monterey County Employee Dies While Driving Heavy Equipment to Jobsite

.