The state and organizations opposed to same-sex marriage appealed. Division Three of the First District Court of Appeal held extended oral argument on the cases on July 10, 2006, before a three-judge panel. In a 2-to-1 decision, the appellate court overturned the lower court. Writing for the majority, Presiding Justice William R. McGuiness found: The marriage statutes do not discriminate based on gender; the state's interests in "preserving the traditional definition of marriage" and "carrying out the expressed wishes of a majority of Californians" were sufficient to preserve the existing law; and challenges from the two groups opposed to same-sex marriage had to be dismissed because they lacked standing in any actual controversy on which the court could rule.