Same-sex couples in the state of Florida will soon be able to get legally married.

The ban on gay marriages will end at midnight on Tuesday, with gay couples being able to receive marriage licenses beginning at 12:01 a.m. Tuesday. In Miami-Dade County, couples will be able to receive marriage licenses on Monday, due to Miami-Dade Circuit Judge Sarah Zabel lifting the stay a day early.

The Florida gay marriage ban dates back to 1977 when Gov. Reubin Askew signed a bill that banned gays from marrying or adopting children.

Florida’s lift on the gay marriage ban makes it the 36th state to allow same-sex couples to get married.

Orlando Mayor Buddy Dyer is officiating a big same-sex wedding at City Hall on the morning of Jan. 6 to commemorate the historic decision.