Tulsi Gabbard is leaving her post as US director of national intelligence following a tumultuous stint in which she was largely sidelined as Donald Trump launched attacks on Venezuela and Iran.

In a letter to the US president, she said she would resign and leave her post on 30 June. “While we have made significant progress … I recognize there is still important work to be done,” she wrote.

The White House forced Gabbard to resign, the Reuters news agency reported, citing a source familiar with the issue. Fox News was first to report Gabbard’s exit, citing her husband’s cancer diagnosis.