Everyone parted as they came.
People parted as they arrived.