Texas Senator and presidential candidate Ted Cruz has joined a campaign calling on pastors to hold a two-hour prayer service on the day the Supreme Court will hear arguments in a case challenging gay marriage bans in four states.

The effort is being spearheaded by Christian conservative David Lane of the American Renewal Project.

Lane said in a recent email the services were needed because “America is on the verge of learning something that can be learned in no other way, rebellion against God brings consequences. There is no safety in distance from God.”

According to CBN's David Brody, Cruz, a Republican, sent his own email to thousands of pastors, asking them to preach against marriage equality on the Sunday, April 26 and hold the prayer services two days later.

“We know that marriage is intended to be sacred, beautiful and nourishing,” Cruz wrote. “If you do not influence your congregation's understanding of marriage, who will fill the void? Hollywood? Divorce courts?”

“Prayer moves our God to intervene in history.”

“Regardless of what happens in the Supreme Court, or anywhere else, we know that the truth will never be obsolete. … That leaves us only one question. Will we be on the right side of history, the side occupied by the Author of history? Otherwise we will fall victim to the fashions of the times.”

“Will we discard an institution, ordained by God, which has brought so much stability and happiness to the human family? Or will we stand in its support? Rightly or wrongly, the Supreme Court will take a stand on marriage this summer. Let's take ours now,” he added.

(Related: Hillary Clinton calls on Supreme Court to strike down gay marriage bans.)