The US Supreme Court has heard arguments that will ultimately decide whether the US Constitution allows for the right to same-sex marriages. The court’s final opinion will be announced by the end of June.

Oral arguments in the case — known as Obergefell v. Hodges — will concern challenges to state bans on same-sex marriage in four states: Kentucky, Michigan, Ohio, and Tennessee.

The first 90 minutes of the court’s session on the case centered on whether the Constitution’s guarantees of due process and equal protection under the law demand that states must offer equality to gay couples. The next 60 minutes regarded whether states must recognize same-sex marriages from other states.