list of presidents of the united states by military service
Table:
President
Service
Rank
Active Service

Barack Obama
None
None
None

George W. Bush
Texas Air National Guard
First Lieutenant
Stateside service during Vietnam War (1968–1973).

Bill Clinton
None
None
Signed an agreement to join Reserve Officer Training Corps at University of Arkansas during Vietnam War, but subsequently withdrew and entered the draft. Was not drafted and did not serve.

George H. W. Bush
United States Naval Reserve
Lieutenant
World War II (1942–1945) Distinguished Flying Cross.

Ronald Reagan
United States Army Reserve, United States Army Air Corps
Captain
Stateside service during World War II (1942–1945); Army Reserve (1937–1942) See also: List of United States Presidents by military rank and Ronald Reagan for more information on military service.

Jimmy Carter
United States Navy
Lieutenant
World War II at the United States Naval Academy Sea duty and stateside service 1946-1953 during the Korean War.

Gerald Ford
United States Naval Reserve
Lieutenant Commander
World War II (1942–1945; combat on USS Monterey, discharged in 1946).

Richard Nixon
United States Naval Reserve
Commander
World War II (1942–1945) Earned two Service Stars.

Lyndon B. Johnson
United States Naval Reserve
Commander[1]
World War II received Silver Star medal after observation mission in which aircraft he was on came under Japanese attack.

John F. Kennedy
United States Navy
Lieutenant
World War II received Navy and Marine Corps Medal and Purple Heart

Dwight D. Eisenhower
United States Army
General of the Army
Stateside service during World War I. Served as Supreme Allied Commander in Europe during World War II (1942–1945). Visited troops in Korea in December 1952. Entire active-duty career spanned from 1915 until 1969 (excepting his two terms as president and Commander-in-Chief).

Harry S. Truman[2]
Missouri National Guard
United States Army, United States Army Reserve
Colonel
Stateside National Guard service in Missouri (1905-1911); World War I (1917–1918); transferred to Army Reserve and retired in 1953.

Franklin D. Roosevelt
None
None
None; Assistant Secretary of the Navy in World War I. Attempted to resign in order to enter uniformed service, but resignation not accepted. Visited France as part of Navy Department duties to observe military activities first hand.

Herbert Hoover
None
None
None; helped guide US Marines in 1900 during the Boxer Rebellion.

Calvin Coolidge
None
None
None

Warren G. Harding
None
None
None

Woodrow Wilson
None
None
None

William Howard Taft
None
None
None; United States Secretary of War 1904-1908

Theodore Roosevelt
United States Army
Colonel
Spanish–American War – only U.S. President to receive the Medal of Honor (awarded posthumously in 2001). Also a Navy Civilian, as Assistant Secretary of the Navy[3]

William McKinley
United States Army
Brevet Major
American Civil War. Served in the 23rd Ohio Infantry under future President Rutherford B. Hayes; fought in the Battle of South Mountain, The Battle of Antietam, and in the Valley Campaigns of 1864.

Benjamin Harrison
United States Army
Brigadier General
American Civil War; Commanded an Infantry Brigade at the battles of Resaca, New Hope Church, Kennesaw Mountain, Marietta, Peachtree Creek and Atlanta; also Commanded a Brigade during Sherman's March to the Sea.

Grover Cleveland
None
None
Paid George Benninsky $150 to take his place after Cleveland was drafted during Civil War under Conscription Act of 1863.

Chester A. Arthur
New York State Militia
Brigadier General
Served as Quartermaster General before and during the American Civil War (1858–1865).

James Garfield
United States Army
Major General
American Civil War (1861–1863; commanded an Ohio Infantry Brigade at the Battles of Shiloh and Corinth; served as Chief of Staff for General William Rosecrans at the Battle of Chickamauga; left the army to serve in the United States House of Representatives).

Rutherford B. Hayes
United States Army
Major General
American Civil War. Served in the 23rd Ohio Infantry and commanded future President William McKinley; wounded at the Battle of South Mountain; also served at the Battle of Antietam and in the Valley Campaigns of 1864.

Ulysses S. Grant
United States Army
General of the Army
Mexican-American War and American Civil War; served 1843-1854 and 1861-1868.

Andrew Johnson
United States Army
Brigadier General
Served in Tennessee Militia in 1830s. American Civil War; served as Military Governor of Tennessee in 1862.

Abraham Lincoln
Illinois State Militia
Captain
Black Hawk War (served three months in 1832); see Abraham Lincoln in the Black Hawk War.

James Buchanan
Pennsylvania State Militia
Private
War of 1812

Franklin Pierce
United States Army
Brigadier General
New Hampshire Militia, 1831-1846; Mexican-American War; commanded Infantry Brigade at Battle of Contreras (where his leg was injured), Battle of Churubusco, and the Assault on Mexico City.

Millard Fillmore
New York State Militia
Major
Served in New York Militia in 1820s and 1830s; Organized Union Continentals home guard unit in Buffalo, New York during American Civil War

Zachary Taylor
United States Army
Major General
War of 1812, Black Hawk War, Second Seminole War, Mexican-American War; entire career spanned from 1808 until 1848.

James K. Polk
Tennessee State Militia
Colonel
Joined cavalry unit in Tennessee Militia as a Captain. Subsequently appointed a Colonel on the staff of Governor William Carroll. Did not see war service.

John Tyler
United States Army
Captain
War of 1812

William Henry Harrison
United States Army
Major General
Northwest Indian War, War of 1812

Martin Van Buren
None
None
None; as State Senator during War of 1812 worked to pass war measures, including bills to expand New York militia and increase soldier pay. Prosecutor of William Hull at court-martial after surrender of Detroit.

Andrew Jackson
Tennessee State Militia, United States Army
Major General
American Revolutionary War, War of 1812, Creek War, First Seminole War

John Quincy Adams
None
None
None; however he was a witness to Battle of Bunker Hill in 1775 and reportedly was a non-participant in a Naval Battle between a British ship and a US ship he was on with his father during the American Revolution.

James Monroe
Continental Army
Major
American Revolutionary War; wounded at the Battle of Trenton; depicted holding the American flag behind General George Washington in the famous painting Washington Crossing the Delaware.

James Madison
Virginia militia
Colonel
American Revolutionary War, did not see action.

Thomas Jefferson
Virginia militia
Colonel
Administrative position, did not see action. As Governor of Virginia, fled during British raid to avoid capture

John Adams
None
None
Adams served as chairman of the Continental Congress's Board of War (1776–1777), making him the simultaneous equivalent of today's Secretary of Defense and Chairman of Senate Armed Services Committee; was a semi-participant in a naval engagement between a British and US ship during the American Revolution.

George Washington
Virginia militia, Virginia Regiment, Continental Army
General of the Armies
French and Indian War, American Revolutionary War.

For the Wikipedia table from the article 'list of presidents of the united states by military service' in the '' section, choose the correct column type(s) for the highlighted column using this list of possible types: business.business_operation, sports.sports_league, award.award_discipline, tv.tv_program_creator, location.us_state, cvg.computer_videogame, tv.tv_series_season, sports.boxer, location.region, government.political_party, award.competition, business.product_category, sports.sports_championship, celebrities.celebrity, music.musical_scale, business.customer, religion.religious_leader, interests.collection_category, american_football.football_conference, metropolitan_transit.transit_stop, film.film, music.album, architecture.building, sports.sports_facility, boats.ship, book.newspaper, soccer.football_team_manager, location.administrative_division, education.field_of_study, basketball.basketball_player, medicine.drug_ingredient, geography.mountain, sports.school_sports_team, medicine.muscle, internet.website, music.composition, language.human_language, american_football.football_team, music.group_member, film.film_distributor, metropolitan_transit.transit_line, military.rank, sports.sports_team, film.producer, tennis.tennis_tournament_champion, film.actor, sports.multi_event_tournament, business.job_title, baseball.baseball_player, tennis.tennis_player, chemistry.chemical_element, soccer.football_player, royalty.kingdom, medicine.drug, cvg.cvg_developer, education.school, music.musical_group, computer.software, cricket.cricket_team, broadcast.tv_channel, aviation.airline, film.film_character, chemistry.chemical_compound, music.writer, tv.tv_director, rail.locomotive_class, people.person, tv.tv_writer, business.defunct_company, organization.membership_organization, education.athletics_brand, royalty.noble_person, theater.theater_actor, location.us_county, geography.body_of_water, government.government_agency, astronomy.astronomical_discovery, location.in_district, aviation.airport, theater.play, fictional_universe.fictional_character, automotive.company, protected_sites.listed_site, computer.software_license, government.election, business.consumer_product, royalty.monarch, government.legislative_session, tv.tv_actor, astronomy.star_system_body, tv.tv_program, meteorology.tropical_cyclone, music.lyricist, location.citytown, soccer.football_league_season, military.military_post, tv.tv_producer, internet.website_owner, government.politician, broadcast.radio_format, tv.tv_genre, military.military_person, religion.religion, music.instrument, location.uk_statistical_location, film.director, book.written_work, broadcast.radio_station, broadcast.tv_station, award.recurring_competition, amusement_parks.park, award.award, music.producer, cricket.cricket_bowler, book.periodical, music.artist, biology.organism, basketball.basketball_position, meteorology.tropical_cyclone_season, comic_books.comic_book_character, cricket.cricket_player, business.brand, sports.pro_athlete, aviation.aircraft_model, computer.operating_system, award.hall_of_fame_inductee, architecture.structure, soccer.football_position, government.general_election, fictional_universe.fictional_organization, chess.chess_player, sports.cyclist, architecture.venue, business.industry, military.military_unit, law.invention, geography.river, location.capital_of_administrative_division, book.magazine, cvg.cvg_genre, film.writer, basketball.basketball_team, sports.tournament_event_competition, military.military_conflict, boats.ship_class, location.uk_constituent_country, sports.sports_championship_event, location.hud_county_place, medicine.anatomical_structure, music.record_label, organization.non_profit_organization, sports.sports_award_type, sports.sports_league_season, award.award_category, music.genre, geography.island, music.music_video_director, education.fraternity_sorority, broadcast.artist, tv.tv_personality, business.consumer_company, tv.tv_series_episode, ice_hockey.hockey_player, education.educational_institution, film.film_festival_focus, film.film_genre, time.event, book.author, baseball.baseball_team, location.australian_state, architecture.architectural_structure_owner, government.us_president, medicine.disease, olympics.olympic_event_competition, law.legal_case, government.u_s_congressperson, royalty.noble_title, soccer.football_award, ice_hockey.hockey_team, baseball.baseball_league, location.province, boats.ship_type, transportation.road, automotive.model, aviation.aircraft_owner, media_common.media_genre, medicine.medical_treatment, astronomy.asteroid, tv.tv_character, visual_art.visual_artist, baseball.baseball_position, people.family_member, book.periodical_subject, sports.sports_position, sports.sports_award_winner, basketball.basketball_coach, music.media_format, education.educational_degree, exhibitions.exhibition_sponsor, government.government_office_or_title, food.food, olympics.olympic_games, astronomy.constellation, book.periodical_publisher, biology.organism_classification, cvg.cvg_publisher, tennis.tennis_tournament, sports.golfer, travel.accommodation, american_football.football_coach, computer.computer, military.armed_force, law.court, soccer.fifa, soccer.football_team, government.governmental_body, government.election_campaign, amusement_parks.ride, broadcast.broadcast, location.location, people.ethnicity, soccer.football_league, martial_arts.martial_artist, sports.professional_sports_team, astronomy.celestial_object, book.book, biology.animal, location.in_state, cricket.cricket_stadium, organization.organization, award.award_ceremony, award.award_presenting_organization, location.jp_prefecture, astronomy.orbital_relationship, basketball.basketball_conference, film.production_company, finance.currency, film.music_contributor, tv.tv_network, broadcast.genre, sports.sports_league_draft, ice_hockey.hockey_position, education.university, location.country, royalty.chivalric_order_member, time.recurring_event, music.composer, metropolitan_transit.transit_system, location.australian_local_government_area, music.performance_role, sports.sport, cvg.cvg_platform, soccer.football_world_cup, american_football.football_player, spaceflight.astronaut. Give your final answer with the correct type(s), comma-separated if there are multiple, in the list of the following object {"answer": ["ANSWER"]}.

{"answer": ["military.rank"]}