Twitter India chief Manish Maheshwari, who has been given a new US-based role, posted several photos with his colleagues at the social media giant's office in a farewell thread.
Mr Maheshwari had found himself targeted by the BJP's Uttar Pradesh government amid a run-in with the party at the centre earlier this year, including being issued summons by the state police which were scrapped by a court last month.
"As I wind up my affairs at Twitter India, words fail me in expressing how much gratitude I feel for my team. You have been my source of strength and inspiration during extraordinarily challenging times," Mr Maheshwari tweeted.
"Little did I know when I started my tenure that hanging out with all of you in the same office space right next to one another was special. Soon COVID-19 changed everything but it could not beat your spirit and resilience," he said. "Each of you soon turned into a square block in a video call. But the impact you delivered was game-changing... making Twitter the lifeline of the nation during the brutal Covid second wave."
"I have learned so much from each of you working through this most challenging episode of our lifetime. We are more than one team. We are one family," Mr Maheshwari tweeted.
The move by Twitter to call him to the US came some two months after Twitter had said it was worried about the safety of its staff in India, following police visits to its offices in Delhi and Gurgaon as part of a probe related to the firm's tagging of some BJP leaders' posts as manipulated.
This week, Twitter found itself at odds with the opposition Congress party and its leader Rahul Gandhi, as they slammed the social network for blocking a tweet over the alleged rape and murder of a 9-year-old girl, saying the platform was playing partisan politics. The accounts of Mr Gandhi and the Congress were temporarily blocked.
X Down? Several Users Report Outage Across the Globe, Including India "Love Your Optimism": PM Modi's Reply To Post By Author On India "What A Sight": Internet Erupts With Joy As India Beat England UP Woman, Daughter, 2 Sons Shot Dead, Husband's Body Found Hours Later New Hampshire Hamlet Tied In First US Election Day Votes "Government Can't Take Over...": Big Supreme Court Order On Private Property Last Set Of Disengagement Between India, China Ended Oct 21: S Jaishankar Bank Holiday On Chhath: Banks To Close For 4 Days In These States MP TET Admit Card 2024 Out, Check Steps To Download Track Latest News Live on NDTV.com and get news updates from India and around the world.