Dios, patria y rey was a motto of Carlism.
[1] These three words (which can be translated as "God, King and Fatherland"), have been the motto and cornerstone of Carlism throughout its existence.
What Carlism understood by these was: Not infrequently the motto appears in another version, namely as "Dios, Patria, Fueros, Rey".
In consequence, their motto was Jaungoikoa eta Lagi-zaŕa, "God and the Old Laws".
When the clerical faction of Carlism rejected the claimant and separated as integrism, their motto was Viva Cristo Rey, ("Long live Christ the King")