New Hampshire's U.S. senators have voted to confirm Loretta Lynch as attorney general.
Lynch was confirmed Thursday by a vote of 56-43.
Every Democrat in the Senate voted to confirm, including Sen. Jeanne Shaheen, who called the appointment of a black woman to the nation's top law enforcement job a historic achievement. Shaheen said Lynch has "sterling credentials" and a commitment to public service.
Sen. Kelly Ayotte joined nine other Republicans to support Lynch, calling her clearly qualified.
Ayotte objects to President Barack Obama's actions on immigration, which outgoing Attorney General Eric Holder had backed. She says she has written assurance from Lynch that she'll respect a current injunction blocking the immigration policies from being implemented as well as any final legal decision on the president's executive order.