It was not immediately clear when the ceasefire would go into effect, and the exact terms of the deal were not released.