A U.S. District Court judge ruled said Hawaii’s laws banning same-sex marriage “are not unconstitutional” and he threw out a lawsuit that had argued otherwise.

Three people had filed a lawsuit, supported by Hawaii Gov. Neil Abercrombie, asking the court to declare unconstitutional the 1998 constitutional amendment that gave the state Legislature the power to define marriage as the union of one man and one woman, and the state law that subsequently did that.

They argued that the amendment and the law violated due process and equal protection under the law.