Washington (CNN) President Barack Obama blasted the Senate Friday for stalling on the nomination of Loretta Lynch to be the next attorney general, the longest wait for a nominee to lead the Justice Department in three decades.

"Enough. Enough. Call Loretta Lynch for a vote, get her confirmed, let her do her job. This is embarrassing," Obama told reporters during a joint White House press conference with Italian Prime Minister Matteo Renzi.

"There are times where the dysfunction in the Senate just goes too far," the President added. "This is an example of it."

If confirmed, Lynch would be the first African-American woman to lead the Justice Department. It has been 160 days since Obama nominated her on Nov. 8 , and the delay in her confirmation is the longest since Ronald Reagan tapped Edwin Meese for the post in 1984.

Senate Majority Leader Mitch McConnell is holding up Lynch's nomination as leverage to push Democrats to drop a filibuster on an unrelated anti-human trafficking bill. Democrats object to that measure because it contains an abortion provision. McConnell has said he won't bring up Lynch for a vote until the dispute is resolved.