Incumbent Republican President George W. Bush was not eligible to serve a third term by law. McCain secured the Republican nomination by March 2008, defeating former governors Mitt Romney, Mike Huckabee, and other challengers. Obama secured the Democratic nomination in June 2008, after facing strong competition against former First Lady and Senator from New York Hillary Clinton. Clinton's victory in the New Hampshire primary made her the first woman to win a major party's presidential primary.