The soldiers were rescued in two ways