Children at a school in India have been tasked with writing a letter to prime minister Narendra Modi “thanking him” for removing Kashmir’s special constitutional status, as part of a homework assignment that has sparked controversy online.

The task was given this week to class 6 children – pupils aged 11 and 12 – at the Hansraj Public School in Panchkula, Haryana.

One woman who tweeted that her brother had been given the homework called it “propaganda” and said she was “enraged”. Her tweet has been shared thousands of times and received more than 500 replies, many vociferously defending the school and the government.

Mr Modi’s government announced on 5 August that it was unilaterally revoking Kashmir’s autonomy, its ability to make its own laws and prevent outsiders from settling in the Muslim-majority valley, as well as the downgrading of Jammu and Kashmir from a state to two directly-controlled union territories.

Since the day before the announcement, the region has been on lockdown amid fears of an angry backlash. Kashmiri politicians and locals accuse the government of trying to force demographic changes in the Muslim-majority region.

Pakistan shoots down Indian fighter jets: Reaction in pictures Show all 28 1 /28 Pakistan shoots down Indian fighter jets: Reaction in pictures Pakistan shoots down Indian fighter jets: Reaction in pictures Activists of Al-Badr Mujahideen, an islamic militant group, burn an effigy of Indian Prime Minister Narendra Modi during an anti-India protest in Peshawar, Pakistan AFP/Getty Pakistan shoots down Indian fighter jets: Reaction in pictures A Pakistani girl holds a light candle during a vigil for peace in Lahore on March 3 AFP/Getty Pakistan shoots down Indian fighter jets: Reaction in pictures School children react as they celebrate the release of Indian Air Force pilot Wing Commander Abhinandan Varthaman by Pakistan at a school in Ahmedabad Reuters Pakistan shoots down Indian fighter jets: Reaction in pictures Indian pilot, Wing Commander Abhinandan, stands under armed escort near Pakistan-India border in Wagah Reuters Pakistan shoots down Indian fighter jets: Reaction in pictures Indian Border Security Force soldiers patrol along the border with Pakistan EPA Pakistan shoots down Indian fighter jets: Reaction in pictures A videograb allegedly shows the captured Indian Air Force pilot in the custody of Pakistani military SWNS Pakistan shoots down Indian fighter jets: Reaction in pictures Pakistani civil society activists hold anti-war signs during a peace rally in Islamabad AFP/Getty Pakistan shoots down Indian fighter jets: Reaction in pictures Pakistani civil society activists hold anti-war signs during a peace rally in Islamabad AFP/Getty Pakistan shoots down Indian fighter jets: Reaction in pictures Activists of Al-Badr Mujahideen, an islamic militant group, burn an effigy of Indian Prime Minister Narendra Modi during an anti-India protest in Peshawar, Pakistan Reuters Pakistan shoots down Indian fighter jets: Reaction in pictures Kashmiri villagers look on at the smouldering wreckage of an Indian fighter jet after it was shot down by the Pakistani military AP Pakistan shoots down Indian fighter jets: Reaction in pictures Indian soldiers and Kashmiri onlookers stand look on as an Indian army helicopter lands near the site where an Indian Air Force jet was shot down by the Pakistani military AFP/Getty Pakistan shoots down Indian fighter jets: Reaction in pictures An Indian soldier gestures near the wreckage of an Indian Air Force fighter jet that was shot down by the Pakistani military AFP/Getty Pakistan shoots down Indian fighter jets: Reaction in pictures Supporters of a Pakistani religious group Islami Jamiat-e-Talaba brand Indian Prime Minister Narendra Modi a terrorist at a rally to condemn Indian aggression AP Pakistan shoots down Indian fighter jets: Reaction in pictures Indian soldiers and Kashmiri villagers look on at the smouldering wreckage of an Indian fighter jet after it was shot down by the Pakistani military AFP/Getty Pakistan shoots down Indian fighter jets: Reaction in pictures India's Border Security Force soldiers patrol along the fenced border with Pakistan on February 26 Reuters Pakistan shoots down Indian fighter jets: Reaction in pictures Protesters in Pakistan march against Indian Prime Minister Narendra Modi after the Indian airstrike on allege Pakistan terrorist camp EPA Pakistan shoots down Indian fighter jets: Reaction in pictures Supporters of India's ruling Bhartiya Janta Party workers hold Indian flags as they celebrate the Indian airstrike on allege Pakistan terrorist camp AP Pakistan shoots down Indian fighter jets: Reaction in pictures Protesters in Pakistan march against Indian Prime Minister Narendra Modi after the Indian airstrike on allege Pakistan terrorist camp EPA Pakistan shoots down Indian fighter jets: Reaction in pictures People in India burn an effigy that represents Pakistan as they celebrate the Indian airstrike on allege Pakistan terrorist camp Reuters Pakistan shoots down Indian fighter jets: Reaction in pictures Indian soldiers and Kashmiri villagers look on at the smouldering wreckage of an Indian fighter jet after it was shot down by the Pakistani military AFP/Getty Pakistan shoots down Indian fighter jets: Reaction in pictures Bhartiya Janta Party workers hold Indian flags as they celebrate the Indian airstrike on allege Pakistan terrorist camp EPA Pakistan shoots down Indian fighter jets: Reaction in pictures Pakistani Kashmiris in the border town of Chakoti walk past India-bound cargo trucks that are parked as the road to India is closed AP Pakistan shoots down Indian fighter jets: Reaction in pictures Pakistani Army soldiers escort journalists to the scene where Indian fighter jets struck in a violation of Pakistani airspace EPA Pakistan shoots down Indian fighter jets: Reaction in pictures Pakistani Army soldiers escort journalists to the scene where Indian fighter jets struck in a violation of Pakistani airspace EPA Pakistan shoots down Indian fighter jets: Reaction in pictures Pakistani Army soldiers escort journalists to the scene where Indian fighter jets struck in a violation of Pakistani airspace EPA Pakistan shoots down Indian fighter jets: Reaction in pictures Workers enter a concrete bunker that they have built in a residential area near the border Reuters Pakistan shoots down Indian fighter jets: Reaction in pictures Pakistani soldiers and journalists gather at the site where Indian fighter jets struck in a violation of Pakistani airspace AFP/Getty Pakistan shoots down Indian fighter jets: Reaction in pictures Pakistani soldiers and journalists gather at the site where Indian fighter jets struck in a violation of Pakistani airspace AFP/Getty

But the Indian government has been working hard to justify its decision, saying it will bring economic prosperity, end separatism in Kashmir and that it has popular support outside the state. It has downplayed reports of unrest in the region.

In an interview with The Independent, the woman who first tweeted about the now viral homework assignment said she was concerned about the way the task was framed, and that the issue was “too difficult for students as young as 11-12 to be able to grasp”.

She shared a screenshot of a homework app which read: “All students have to write a letter in Hindi, to PM of India, thanking PM for removing Article 370 in J & K (Jammu and Kashmir)”. The app said the letters were to be brought in ahead of India’s Independence Day celebrations on Thursday.

Hansraj Public School is part of the largest non-governmental chain of schools in India, the DAV College Managing Committee (DAVCMC), which says it runs more than 900 educational institutions across the country.

On Tuesday, media in Odisha state reported that schools in the network were being asked to produce open letters approving of Mr Modi’s decision on Kashmir.

Draft letters called the revocation of Article 370 an “historical decision” that would “end the terrorism”, and praised Mr Modi’s “able and astute leadership”. Schools were ordered to collect teachers’ and parents’ signatures and return the letters urgently. Copies were also reportedly circulated to students.

The woman whose 11-year-old brother received the Haryana homework assignment, who asked to remain anonymous, said she could “hardly believe they've given such a heavily biased assignment on a political issue”.

“Rather than being asked to write about their thoughts on the issue, which is often how school assignments are presented, they were being instructed on what to think as well,” she told The Independent.

Her parents had decided to write to the school explaining he would not be completing the homework, she said.

The woman asked to remain anonymous because of the heated arguments the tweet had provoked online, and for fear of repercussions for her brother at school.

In less than 48 hours, the original tweet received more than 10,000 likes and retweets and hundreds of replies varying from outrage at the assignment to personal attacks on the woman herself.

Many expressed support for Mr Modi. Some said that if she didn’t like it she could move to another country – a common trope in online arguments in India – or compared the assignment to previous generations being asked to write about the achievements of Jawaharlal Nehru, India’s widely venerated first prime minister.

A minority, however, called the homework “brainwashing”. Yasmin Kidwai, a Delhi-based politician for the opposition Congress party, said it was a “ridiculous” task.

The original poster said she had “never seen a tweet go viral like this before”. “I've been reading the responses pretty much throughout the day although I haven't engaged with many,” she said.

“It makes me nervous to think that, at the end of the day, the majority of our voting population seems to believe our government can do no wrong,” she said. “It feels like the nation's development and well-being take a backseat [to] the cult of personality surrounding the current PM.”