What were the terms of the cease-fire?