Social Media giant Twitter has blocked the Pakistan government's account from being viewed in India in response to a legal demand, according to a notice on the social media platform.

The company's guidelines compel it to withhold entire accounts in response to a valid legal demand, such as a court order.

Reuters confirmed that the account, @GovtofPakistan, remained available for viewing and interaction from countries such as the United States and Canada.

Reuters also said that Twitter as well as India and Pakistan's IT ministries did not immediately respond to the outlet's request for comment.

In June last year, Twitter in India banned official accounts of Pakistan Embassies in the United Nations, Turkey, Iran, and Egypt. In August, India blocked eight YouTube-based news channels, including one operating from Pakistan and one Facebook account for posting "fake, anti-India content" online.