After Oslo, they designated three "areas" in the West Bank, A, B, and C -- PA control, PA/Israel control and Israeli control -- respectively. It was supposed to be positioning for statehood.
The Israelis "disengaged" from Gaza, leaving them to self-rule in mid-2005. Hamas overthrew the PA government there in a bloody coup.
Bad move letting them do squat other than leave.