WASHINGTON - Donald Trump responded with derision Friday to news of an investigation into the FBI decision to make public an inquiry into Hillary Clinton's emails days before the Nov 8 presidential election, a decision that Clinton said was a factor in her defeat.

The US Justice Department's inspector general Thursday announced a wide-ranging probe of the FBI's handling of its inquiry into former secretary of State Hillary Clinton's email use, exhuming a series of events that the Democratic presidential nominee claimed helped doom her bid for the White House.

Inspector General Michael Horowitz said the review was prompted by requests from federal lawmakers and members of the public.

The internal inquiry will examine whether the Justice Department and FBI followed established "policies and procedures'' when FBI Director James Comey publicly announced in July that the bureau would not recommend criminal charges against Clinton related to her use of a private email server while at the State Department. The recommendation was quickly accepted by Attorney General Loretta Lynch, who had effectively ceded control of the inquiry to the FBI director after she met briefly with former president Bill Clinton prior to the conclusion of the investigation.

Comey also said on Oct 28 the agency was reviewing emails that might be relevant to a previous inquiry into Clinton's use of a private email server while she was secretary of state, then announced on Nov. 6 that the fresh review had yielded nothing to change the agency's finding that she was not guilty of criminal wrongdoing.

"What are Hillary Clinton's people complaining about with respect to the F.B.I. Based on the information they had, she should never have been allowed to run - guilty as hell," Trump wrote on Twitter on Friday.

"They were VERY nice to her. She lost because she campaigned in the wrong states - no enthusiasm!" added the Republican president-elect, who is due to enter the White House in a week.

Democrats said Comey's announcement of the new inquiry into the emails in October damaged her standing with voters right before the election, and he faced complaints that his moves were politically motivated. Announcing its inquiry on Thursday, the Justice Department's Office of Inspector General said it was looking into decisions leading up to Comey's public statements and whether they may have been based on "improper considerations."

Trump assailed Clinton over the email issue throughout the 2016 election campaign, and crowds at his rallies often chanted "lock her up!" In a debate in October, Trump vowed Clinton would "be in jail" over the matter if he became president, although in a New York Times interview soon after the election he indicated that he would not pursue prosecution.

After a year-long probe into whether Clinton mishandled classified information with her email practices, Comey said in July that while Clinton and her staff had been extremely careless, the agency recommended no charges be brought.

Brian Fallon, Clinton's spokesman, told MSNBC on Thursday that Comey's actions before the election "cried out for an independent review." Referring to Trump's reaction, Fallon said on CNN on Friday: "Those tweets are just the latest indication that Donald Trump is someone who is very insecure in his victory."

Senator Dick Durbin, the No. 2 Democrat in the US Senate said Comey's statements were not "fair, professional or consistent with the policies of the Federal Bureau of Investigation."

Horowitz also will review the explosive series of events in the days immediately before the November general election when Comey announced Oct. 28 that the bureau was reopening the inquiry after a new cache of emails was discovered during a separate federal review that targeted former Congressman Anthony Weiner, the estranged husband of top Clinton aide Huma Abedin, a Michigan-born Muslim-American raised in Saudi Arabia by a Pakistani mother and an Indian father.

Weiner has been the subject of an investigation into alleged sexually charged communications with a young girl. The re-opened inquiry was closed Nov. 6--just two days before Election Day—but Clinton has blamed the episode as contributing to her election loss to President-elect Donald Trump.

The FBI director's action in October went against long-established Justice and FBI policy not to take action in close proximity to an election that could influence the vote. Comey's late October decision also went against the counsel of the attorney general.

The inspector general's review will not evaluate the merits of the now-closed criminal inquiry or challenge the conclusions not to prosecute Clinton. Rather, it will focus on Justice and FBI policies that guided the probe.

Comey said on Thursday the FBI would cooperate fully with the investigation. Trump will not have the power to dismiss the investigation.

 Federal law permits US presidents to dismiss inspectors general for federal agencies, as long as the president provides Congress a written justification for the removal 30 days in advance.