New Delhi (CNN Business) One of China's biggest social media companies is scrambling to protect its business in India after a second run-in with authorities in three months.

ByteDance, the owner of hugely popular video sharing app TikTok , will set up a data center in India and take other steps to ensure the safety of its users in the country. India is one of TikTok's biggest markets, with over 200 million users.

"Since the launch of our platforms in India, we have stored the data of our Indian users at industry-leading third-party data centers in the US and Singapore," ByteDance said in a statement on Sunday. "We now believe that the time has come to take the next big leap."

Prime Minister Narendra Modi has been pushing global tech giants to store data on Indian users within India, citing a need to protect citizens and give Indian law enforcement authorities easier access to the information.