The Delhi court was acting in response to a civil petition brought by members of the New Delhi-based Shiksha Bachao Andolan Committee, which describes itself as an education movement fighting against distortions of history, and started protesting against the book in 2010.

Dinanath Batra, a convenor of the group, took issue with Ms. Doniger’s sexual approach to Hindu scriptures, what he claims was her denigration of the seminal Hindu text “Ramayana,” and the hurt he said was caused to millions of Hindus by the author’s assertion that that text is fiction, among other things.

He told The Wall Street Journal that he was pleased the settlement would see the book removed from bookstores in India, but added that his campaign against the author was not over.

A 2013 work by Ms. Doniger, “On Hinduism,” containing similar material, was still available, Mr. Batra, 84, said.

Ms. Doniger was not immediately available for comment. A spokeswoman for Penguin India declined to comment.

The agreement, reviewed by the Journal, states that Penguin must ensure that the book is “completely withdrawn / cleared from the Bharat (Indian Territory)” within six months. The complainant agreed to drop all civil and criminal cases against Ms. Doniger and Penguin USA Inc. as part of the agreement.

Mr. Batra had also registered a criminal case against Ms. Doniger for a map of India contained in her work that he said excluded the disputed territory of Kashmir, which is at the center of a diplomatic row between India and Pakistan . “We have withdrawn that case now,” he added.

A review of the book, published in the Journal in 2009 said that Ms. Doniger had succeeded in “making modern sense of the texts and tales of Hindu society, as well as of the rituals and symbols of the Hindu people.”

Mithilesh Singh, a sales manager at popular bookstore Bahri Sons in Delhi said that “The Hindus: An Alternative History” has been on its best seller list since it was published five years ago. “Today, everyone is asking for this book and we’ve sold out,” Mr. Singh said on Tuesday. Ms. Doniger’s “On Hinduism” was also selling well, he added.

According to a statement released by Shiksha Bachao Andolan Samiti on Monday, large sections of the book, “The Hindus,” were objectionable. Here are five things from the book with which they took issue.

– [Mahatma] Gandhi was a strange person who slept in the same bed as small girls.

– Swami Vivekananda advised people to eat beef.

– Laxmi Bai was loyal to the British.

– There is no Hindu canon of work.

– [In the Ramayana] Sita says her brother-in-law Laxman wanted her for himself.

About India Real Time

India Real Time offers analysis and insights into the broad range of developments in business, markets, the economy, politics, culture, sports, and entertainment that take place every single day in the world’s largest democracy. Regular posts from Wall Street Journal and Dow Jones Newswires reporters around the country provide a unique take on the main stories in the news, shed light on what else mattered and why, and give global readers a snapshot of what Indians have been talking about all week. You can contact the editors at indiarealtime(at)wsj(dot)com.