<human>:  When does the book ‘A Passage to India’ take place?
<bot>: The book takes place in India in the late 19th century. The book is set in the British Raj, which was a British colonial government in India. The British Raj was established in 1858 after the Indian Rebellion of 1857. The British Raj lasted until 1947 when India became independent.