Something like that. Probably just so he could make up whatever rules he wanted, and didn't have to follow someone else's orders. I honestly don't know though.
Pretty sure it was to get in to the chunin exams so he and his students could spy and carry out missions inside the village in preparation for his main assault on the leaf.