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.