Rí, or commonly ríg (genitive), is an ancient Gaelic word meaning 'king'. It is used in historical texts referring to the Irish and Scottish kings, and those of similar rank. While the Modern Irish word is exactly the same, in modern Scottish Gaelic it is rìgh, apparently derived from the genitive. Cognates include Gaulish Rix, Latin rex/regis, Spanish rey, French roi, Sanskrit raja, and German Reich.