The titular head of a nation, as a president or king.
A supreme commander of the armed forces of a country, especially one who is also a political leader.