On Tuesday, #ModiInsultsIndia trended worldwide on Twitter with over 100,000 tweets.
The hashtag was Twitter's irate response to the Indian prime minister's speeches in China and South Korea – perceived by many as insulting to his own country.
"Earlier, you felt ashamed of being born Indian," Modi said to the Indian community in Shanghai, referring to the time before his party was elected to power last year.
Modi, speaking in Hindi, said that a year ago people used to wonder what sins they had committed in their previous lives to be born in India.
"Now you feel proud to represent the country. Indians abroad had all hoped for a change in government last year," The Hindustan Times quoted him as saying.
In similar remarks at an Indian community reception in Seoul, Modi said that before his government was elected to power, Indians wanted to leave their country.
"There was a time when people used to say we don't know what sins we committed in our past life that we were born in India. What kind of country is this, what kind of government is this, what kind of people this country has," he said.
"There was a time when people used to leave, businessmen used to say we can't do business here. These people are ready to come back. The mood has changed," he said.
The backlash on Twitter against Modi's comments was swift and brutal.
Many were shocked that Modi, who is seen as a staunch nationalist, could have made remarks deemed unpatriotic.
Others lashed out against his comments about Indians living and working abroad.
A former Indian Supreme Court judge also chipped in.
The spokesman for the Indian National Congress, the party that lost the 2014 elections to Modi, called Modi's speech a "national disgrace."
But Modi's strong support base on social media continued to defend him.
Subsequently, #ModiIndiasPride replaced #ModiInsultsIndia as a trending topic.
But some still managed to co-opt the hashtag to criticize Modi.
Tasneem Nashrulla is a reporter for BuzzFeed News and is based in New York.
Contact Tasneem Nashrulla at email@example.com.
Got a confidential tip? Submit it here.