June 26, 2015 12:20 PM EDT

The Supreme Court ruled Friday that all 50 states must make marriage available to same-sex couples in its historical decision today.

While 37 states had already fully legalized same-sex marriage, the Obergefell v. Hodges decision means the remaining 13 states will have to hand out marriage licenses to LGBT couples. In his Friday morning remarks, President Obama called the uneven marriage laws in America the “patchwork system we currently have,” and the map below shows what he meant.

To see which states did and did not allow same-sex marriage, take a look at the previous state of marriage laws across the country before Friday morning.

Write to Julia Zorthian at julia.zorthian@time.com.

Read More From TIME

Related Stories

EDIT POST