Israel was compelled to accept a ceasefire