A wedding cake with a male couple is seen at The Abbey restaurant at a celebration of the over100 same-sex marriages performed today in West Hollywood, California, July 1 2013.. The U.S. Ninth Circuit Court of Appeals lifted California's ban on same-sex marriages just three days after the Supreme Court ruled that supporters of the ban, Proposition 8, could not defend it before the high court. AFP PHOTO / ROBYN BECK (Photo credit should read ROBYN BECK/AFP/Getty Images)
ROBYN BECK/AFP/Getty Images
A wedding cake with a male couple is seen at The Abbey restaurant at a celebration of the over100 same-sex marriages performed today in West Hollywood, California, July 1 2013.. The U.S. Ninth Circuit Court of Appeals lifted California's ban on same-sex marriages just three days after the Supreme Court ruled that supporters of the ban, Proposition 8, could not defend it before the high court. AFP PHOTO / ROBYN BECK (Photo credit should read ROBYN BECK/AFP/Getty Images)
Now playing
01:08
Wedding cake leads to Supreme Court case
WASHINGTON - FEBRUARY 05:  The U.S. Supreme Court is shown February 5, 2009 in Washington, DC. It was announced today that Supreme Court Justice Ruth Bader Ginsburg had surgery after being diagnosed with pancreatic cancer. (Photo by Win McNamee/Getty Images)
Win McNamee/Getty Images
WASHINGTON - FEBRUARY 05: The U.S. Supreme Court is shown February 5, 2009 in Washington, DC. It was announced today that Supreme Court Justice Ruth Bader Ginsburg had surgery after being diagnosed with pancreatic cancer. (Photo by Win McNamee/Getty Images)
Now playing
01:32
SCOTUS: States can force tax on online shoppers
Jack Phillips Today Show
NBC
Jack Phillips Today Show
Now playing
02:18
Colorado baker: I couldn't create this cake
A wedding cake with statuettes of two men is seen during the demonstration in West Hollywood, California, May 15, 2008, after the decision by the California Supreme Court to effectively greenlight same-sex marriage. AFP PHOTO / GABRIEL BOUYS (Photo credit should read GABRIEL BOUYS/AFP/Getty Images)
GABRIEL BOUYS/AFP/AFP/Getty Images
A wedding cake with statuettes of two men is seen during the demonstration in West Hollywood, California, May 15, 2008, after the decision by the California Supreme Court to effectively greenlight same-sex marriage. AFP PHOTO / GABRIEL BOUYS (Photo credit should read GABRIEL BOUYS/AFP/Getty Images)
Now playing
02:04
SCOTUS rules for baker in same-sex cake case
People wait in line to enter the U.S. Supreme Court, on April 23, 2018 in Washington, DC.
Mark Wilson/Getty Images
People wait in line to enter the U.S. Supreme Court, on April 23, 2018 in Washington, DC.
Now playing
01:44
SCOTUS wipes away lower court ruling
how the supreme court picks cases_00000000.jpg
how the supreme court picks cases_00000000.jpg
Now playing
01:39
How the Supreme Court picks its cases
Now playing
01:31
Supreme Court allows parts of travel ban
WASHINGTON - JUNE 25: The exterior view of the U.S. Supreme Court is seen June 25, 2007 in Washington, DC. The Supreme Court has ruled to give more freedom for interest groups and unions to run TV ads before elections, and also ruled to limit taxpayers' rights to challenge government initiatives as unconstitutionally promoting religion. (Photo by Alex Wong/Getty Images)
File/Alex Wong/Getty Images
WASHINGTON - JUNE 25: The exterior view of the U.S. Supreme Court is seen June 25, 2007 in Washington, DC. The Supreme Court has ruled to give more freedom for interest groups and unions to run TV ads before elections, and also ruled to limit taxpayers' rights to challenge government initiatives as unconstitutionally promoting religion. (Photo by Alex Wong/Getty Images)
Now playing
01:05
Supreme Court throws out NC redistricting maps
Pro-choice activist, Alissa Manzoeillo, of Washington, D.C. waits for rulings in front of the U.S. Supreme Court  on June 27, 2016 in Washington, DC. A ruling is expected in Whole Woman's Health v. Hellerstedt, a Texas case the places restrictions on abortion clinics, as well as rulings in the former Virginia Governor's corruption case and a gun rights case.
Pete Marovich/Getty Images
Pro-choice activist, Alissa Manzoeillo, of Washington, D.C. waits for rulings in front of the U.S. Supreme Court on June 27, 2016 in Washington, DC. A ruling is expected in Whole Woman's Health v. Hellerstedt, a Texas case the places restrictions on abortion clinics, as well as rulings in the former Virginia Governor's corruption case and a gun rights case.
Now playing
01:25
Supreme Court rules on Texas abortion law
Obama Supreme Court immigration ruling_00000000.jpg
Obama Supreme Court immigration ruling_00000000.jpg
Now playing
01:16
Obama responds to immigration ruling
The U.S. Supreme Court is shown as the court meets to issue decisions May 23, 2016 in Washington, D.C.
Win McNamee/Getty Images
The U.S. Supreme Court is shown as the court meets to issue decisions May 23, 2016 in Washington, D.C.
Now playing
01:11
Supreme Court upholds affirmative action at university
WASHINGTON, DC - JUNE 25: A gay marriage waves a flag in front of the Supreme Court Building June 25, 2015 in Washington, DC. The high court is expected rule in the next few days on whether states can prohibit same sex marriage, as 13 states currently do. (Photo by Mark Wilson/Getty Images)
Mark Wilson/Getty Images
WASHINGTON, DC - JUNE 25: A gay marriage waves a flag in front of the Supreme Court Building June 25, 2015 in Washington, DC. The high court is expected rule in the next few days on whether states can prohibit same sex marriage, as 13 states currently do. (Photo by Mark Wilson/Getty Images)
Now playing
01:36
GOP hopefuls denounce marriage ruling
The Justices of the US Supreme Court sit for their official photograph on October 8, 2010 at the Supreme Court in Washington, DC. Front row (L-R): Associate Justice Clarence Thomas, Associate Justice Antonin Scalia, Chief Justice John G. Roberts, Associate Justice Anthony M. Kennedy and Associate Justice Ruth Bader Ginsburg. Back Row (L-R): Associate Justice Sonia Sotomayor, Associate Justice Stephen Breyer, Associate Justice Samuel Alito Jr. and Associate Justice Elena Kagan. AFP PHOTO / TIM SLOAN (Photo credit should read TIM SLOAN/AFP/Getty Images)
TIM SLOAN/AFP/Getty Images
The Justices of the US Supreme Court sit for their official photograph on October 8, 2010 at the Supreme Court in Washington, DC. Front row (L-R): Associate Justice Clarence Thomas, Associate Justice Antonin Scalia, Chief Justice John G. Roberts, Associate Justice Anthony M. Kennedy and Associate Justice Ruth Bader Ginsburg. Back Row (L-R): Associate Justice Sonia Sotomayor, Associate Justice Stephen Breyer, Associate Justice Samuel Alito Jr. and Associate Justice Elena Kagan. AFP PHOTO / TIM SLOAN (Photo credit should read TIM SLOAN/AFP/Getty Images)
Now playing
01:21
Supreme Court rules on EPA emissions limits
The U.S. Supreme Court is shown March 29, 2016 in Washington, DC following the first 4-4 tie in a case before the court.
Win McNamee/Getty Images
The U.S. Supreme Court is shown March 29, 2016 in Washington, DC following the first 4-4 tie in a case before the court.
Now playing
01:09
Supreme Court rules 7-1 in favor of death row inmate
A general view of the US Supreme Court in Washington, DC, June 18, 2015. AFP PHOTO/JIM WATSON (Photo credit should read JIM WATSON/AFP/Getty Images)Supreme Court building exterior
JIM WATSON/AFP/Getty Images
A general view of the US Supreme Court in Washington, DC, June 18, 2015. AFP PHOTO/JIM WATSON (Photo credit should read JIM WATSON/AFP/Getty Images)Supreme Court building exterior
Now playing
01:37
Supreme Court rules in favor of lethal injection drug
WASHINGTON, DC - MARCH 26: The exterior of the U.S. Supreme Court on March 26, 2012 in Washington, DC. Today the high court, which has set aside six hours over three days, will hear arguments over the constitutionality President Barack Obama's Patient Protection and Affordable Care Act. (Photo by Mark Wilson/Getty Images)
Getty Images
WASHINGTON, DC - MARCH 26: The exterior of the U.S. Supreme Court on March 26, 2012 in Washington, DC. Today the high court, which has set aside six hours over three days, will hear arguments over the constitutionality President Barack Obama's Patient Protection and Affordable Care Act. (Photo by Mark Wilson/Getty Images)
Now playing
01:14
Supreme Court rules on congressional districting

Story highlights

One case involves wedding cake and one case involves birth certificates

The decisions come two years after the Supreme Court cleared the way for same-sex marriage

(CNN) —  

The Supreme Court has agreed to hear a religious liberty case concerning a Colorado cake artist who refused to make a cake for a same-sex couple’s wedding reception, claiming that to do so violated his religious liberty under the Constitution.

The Court will take up the case, Masterpiece v. Colorado Civil Rights Commission, in its next term, which starts in October.

If Kennedy retires, Donald Trump’s legacy is set

The Supreme Court also ruled in favor of two married same-sex couples in Arkansas who challenged a state law that did not allow both members of a same-sex couple to be listed as parents on a birth certificate.

The decision in Pavan v. Smith was 6 to 3 and brings up equal protection concerns two years after the Supreme Court cleared the way for same sex couples.

The cake case

The case concerns a Colorado cake artist who refused to make a cake for a same-sex couple claiming that to do so violated his religious liberty under the federal constitution.

The controversy began in July 2012 when David Mullins and Charlie Craig visited Masterpiece Cakeshop to order a cake for their upcoming wedding reception. The shop is owned by Jack Phillips who has been designing custom cakes for 22 years.

Phillips informed the couple that he could not create a cake honoring same-sex marriage because doing so would conflict with his sincerely held religious beliefs.

He said he was happy to create other types of cakes for the couple. The couple filed a complaint with the Colorado Civil Rights Division, which found that Phillips had violated the Colorado Anti-Discrimination Act. Lower courts ruled in favor of the couple.