Similarly in Rome Jupiter was the supreme ruler of the heavens and god of thunder, represented on earth by the " rex ", king ( later the " rex sacrorum " ) and his substitute, the flamen dialis, the legal aspect of sovereignty being incarnated also by Dius Fidius, Mars was the god of military prowess and a war deity, represented by his flamen martialis; and Quirinus the enigmatic god of the Roman " populus " ( " people " ) organised in the curiae as a civilian and productive force, represented by the flamen quirinalis.