Pompey was a rival of Marcus Licinius Crassus and an ally to Gaius Julius Caesar . Pompey joined his rival Marcus Licinius Crassus and his ally Julius Caesar in the unofficial military-political alliance known as the First Triumvirate .