As Commander in Chief, the President is in charge of the military of the United States and the state militias (National Guard) when they are called into federal service. This also gives the President power to enact executive orders and create agencies to ensure the functioning of the country and economy during wartime.