'It was time to end this war,' says U.S. President Biden