The Supreme Court declared Friday that same-sex couples have a right to marry anywhere in the United States. Gay and lesbian couples already can marry in 36 states and the District of Columbia. 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.

The outcome is the culmination of two decades of Supreme Court litigation over marriage, and gay rights generally.