Republican presidential candidate Mike Huckabee on Friday once again attacked the Supreme Court's ruling striking down gay marriage bans in all 50 states.

Huckabee was among the Republican presidential candidates speaking at the Family Research Council's (FRC) annual Values Voter Summit.

Huckabee stood beside Davis earlier this month as she emerged from a five-day jailing over her refusal to comply with the U.S. Supreme Court's summer ruling. After a series of legal losses, a federal judge found Davis in contempt. Davis maintains that issuing marriage licenses to gay and lesbian couples would violate her conscience.

(Related: Kim Davis honored at FRC's Values Voter Summit.)

“I know this much, the courts cannot make a law and I will take the oath to defend the constitution and I will not surrender the executive branch and the legislative branch to the court,” Huckabee, a strong opponent of LGBT rights, told the crowd.

“And Kim Davis, and people like her, will never, ever go to jail one minute, if I'm elected president,” he added.