Musk served as head of the Department of Government Efficiency (DOGE), where he spearheaded sweeping job cuts across the US federal government, before departing in May 2025.