It is because they were so fed up with the British controlling them. India were also fed up of having to fight with guns against them. So along came Mahatma Gandhi who used several movements to herd the British out.
Didn't find the answer you were looking for?