WASHINGTON — The investigation into Hillary Clinton’s email server is over, Attorney General Loretta E. Lynch said on Wednesday.

In a brief written statement, she said she accepted the F.B.I.’s recommendation that no one be charged in the case, which has engulfed Mrs. Clinton’s presidential ambitions for more than a year.

“I received and accepted their unanimous recommendation that the thorough, year-long investigation be closed and that no charges be brought against any individuals within the scope of the investigation,” Mrs. Lynch said.

The attorney general said she met with James B. Comey, the director of the F.B.I., and other prosecutors and agents on Wednesday afternoon before closing the case. Ms. Lynch had promised to accept the F.B.I. recommendations after creating a political furor by meeting on her airplane last week for 30 minutes with former President Bill Clinton.