The US Senate has confirmed President Donald Trump’s nomination for attorney general, Alabama Senator Jeff Sessions, by a vote of 52 to 47.
The confirmation follows a series of divisive hearings during which Democrats attacked Mr Sessions’ record on civil rights.
Democrat Elizabeth Warren was silenced after recalling historic allegations of racism against Mr Sessions.
The Alabama senator’s nomination was among Mr Trump’s most controversial.
The vote largely followed party lines, with just one Democrat senator – Joe Manchin of West Virginia – voting for Mr Sessions.
Mr Sessions’ Republican colleagues in the chamber applauded him as their majority carried him over the line. He will now take charge of the Justice Department and its 113,000 employees, including 93 US attorneys.