A state religion, or ecclesia, is when the government and a religion work together to mold and form an entire society. In contrast, a theocracy is when a deity is appointed as the societal mayor, governor, king, etc..., and is considered the ultimate font and distributor of authority.