The 44-year-old scraped the US military's top job, only getting in on the vice president's 51-50 tie-breaking vote in Senate.