<human>:  When did the partition of India happen?
<bot>: The partition of India happened in 1947. It was a result of the British leaving India. The British had ruled India for a long time, and they were leaving. The British wanted to divide India into two countries, India and Pakistan. The British wanted to divide India because they were afraid that the people of India would not be able to govern themselves.