rephrase this

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.

The division of India into India and Pakistan was mainly caused by religious differences between Hindus and Muslims. The Muslims, led by Muhammad Ali Jinnah, sought a separate nation out of fear of Hindu dominance. This demand, known as the Two-Nation Theory, gained traction and eventually resulted in the formation of Pakistan. The British government also supported the partition to facilitate a peaceful transfer of power and prevent communal strife between the two religious groups. Ultimately, the 1947 partition of India was driven by religious and political factors.