Elon Musk has said he is leaving the Trump administration after helping lead a tumultuous drive to shrink the size of US government that saw thousands of federal jobs axed.
In a post on his social media platform X, the world's richest man thanked Trump for the opportunity to help run the Department of Government Efficiency, known as Doge.
The White House began "offboarding" Musk as a special government employee on Wednesday night, the BBC understands.
His role was temporary and his exit is not unexpected, but it comes a day after Musk criticised the legislative centrepiece of Trump's agenda.
"As my scheduled time as a Special Government Employee comes to an end, I would like to thank President Donald Trump for the opportunity to reduce wasteful spending," Musk wrote on X.
"The Doge mission will only strengthen over time as it becomes a way of life throughout the government."
The South African-born tech tycoon had been designated as a "special government employee" - allowing him to work a federal job for 130 days each year.