In 170 BC, Antiochus IV Epiphanes invaded Egypt and captured Philometor, installing him at Memphis as a puppet king.