What did the ceasefire guaranteed