Formal/written. News and history texts use
当政 for heads of state, party leaders, and dynastic emperors - 'someone is currently in office.' Neutral in tone (neither glorifying nor critical). For everyday 'in charge,' use
掌权 or
执政;
执政 specifically applies to ruling parties.