make this one sentince

India was divided into two different countries, India and Pakistan, primarily due to religious differences between Hindus and Muslims. The Muslims in India, led by Muhammad Ali Jinnah, demanded a separate nation for themselves as they feared being marginalized in a Hindu-majority country. This demand for a separate nation for Muslims, called the Two-Nation Theory, gained support and eventually led to the creation of Pakistan. Additionally, the British government believed that dividing India into two would ensure a peaceful transition of power and prevent communal violence between Hindus and Muslims. Therefore, the partition of India in 1947 was primarily based on religious and political considerations

India was divided into two countries, India and Pakistan, due to religious differences between Hindus and Muslims, with the demand for a separate Muslim nation led by Muhammad Ali Jinnah gaining support and eventually leading to the creation of Pakistan in 1947, supported by the British government to prevent communal violence.

make your answer shorter

India was divided into India and Pakistan in 1947 due to religious differences between Hindus and Muslims, with the demand for a separate Muslim nation led by Muhammad Ali Jinnah gaining support and the British government supporting the partition to prevent communal violence.

shorter

India was divided into India and Pakistan in 1947 due to religious differences between Hindus and Muslims, with the British government supporting the partition to prevent communal violence.