On their terms, and they declared unilateral independence shortly after...If you say so, but that's exactly what they agreed to in 1947 when they signed up for UN resolution 181.
They of course then broke those terms, and have expanding ever since!
But as I've said before, the violence will continue indefinitely as long as there are apologists such as yourself around...
As opposed to understanding both sides of the problem!