Following a setback at Dyrrachium, Caesar decisively won the Battle of Pharsalus in 48 BC. After defeating Pompey, Caesar sailed for Alexandria, where settled a civil war by placing Cleopatra on the throne.