In 179 BC Philip died. Who was next in line to the throne at the time of Philip's death?