The ruling comes after the Masterpiece Cakeshop in Denver declined making a cake for the gay wedding celebration of Charlie Craig and David Mullins.
The owner of the shop, Jack Phillips, said providing the cake would go against his religious beliefs.
Judge Robert N. Spencer wrote in his ruling “the undisputed facts show that Respondents (Phillips) discriminated against Complainants because of their sexual orientation by refusing to sell them a wedding cake for their same-sex marriage.”
Spencer went on to say Phillips must “cease and desist from discriminating” against gay couples.
There was not a fine attached to the decision but the shop could be hit with penalties if it repeats the decision with future customers.
The American Civil Liberties Union filed the suit in the name of the men.
The couple was married in Massachusetts but live in Colorado and were planning a party there.