NEW YORK (AP) — Between an offensive tweet and a significant revision, the New York Times' handling of a new sexual misconduct allegation against Supreme Court Justice Brett Kavanaugh attracted almost as much attention as the accusation itself.

The story also gave President Donald Trump and his allies fresh ammunition in his campaign against the media, where the Times was already a favorite target.

The revelation that led several Democratic presidential contenders to call for Kavanaugh's impeachment came in the 11th paragraph of a story labeled "news analysis" that ran in the Sunday opinion section. The story is based on an upcoming book by Times reporters Robin Pogrebin and Kate Kelly, "The Education of Brett Kavanaugh: An Investigation," about the junior justice's brutal confirmation battle last year.

Headlined "Brett Kavanaugh Fit In With the Privileged Kids. She Did Not," the story was primarily about Deborah Ramirez, a Connecticut woman who alleged that Kavanaugh, as a freshman at Yale in 1983, had pulled down his pants and thrust his penis at her. Kavanaugh has denied those claims.

Yet the authors said they'd uncovered a similar story involving Kavanaugh at another freshman year party, where he allegedly exposed himself and friends pushed his penis into the hands of a female student. The story said former classmate Max Stier reported the incident to the FBI and senators as Kavanaugh's nomination was being discussed, but said Stier would not discuss it with the authors. Kavanaugh would not comment on the story, a court spokeswoman said on Monday.

After the story was posted online but before it was in the print edition, the Times revised the story to add that the book reported that the woman supposedly involved in the incident declined to be interviewed, and that her friends say she doesn't recall the incident. While an editor's note pointed out the revision, it did not say why those facts had been left out in the first place. A Times spokeswoman said no one was available for an interview on Monday.

The failure to initially report that the woman did not remember the alleged incident "is one of the worst cases of journalistic malpractice in recent memory," John McCormack wrote in the conservative magazine National Review.

The Washington Post, detailing its own decision on the story, called into question the Times' decision to run with the accusation in the first place.

The Post said that last year it had independently confirmed that lawmakers and authorities knew of the second accusation against Kavanaugh, but did not write about it because the woman involved would not comment and the alleged witnesses were not identified.

The book's authors wrote that they had corroborated the second misconduct allegation with two officials who said they had communicated with Stier. The newspaper did not identify them.

Placement of the accusation in the midst of an opinion section piece struck many in the journalism community as odd.

"How is this not a front-page story?" wrote Tom Jones of the journalism think tank the Poynter Institute.

In a statement, the Times said the opinion section frequently runs excerpts of books produced by the newspaper's reporters. The new accusations were uncovered during the author's reporting process for the book, which is why they had not appeared in the newspaper before.

45 PHOTOS Printing the New York Times in 1942 See Gallery Printing the New York Times in 1942 The Newsroom Photo Credit: Library of Congress The bullpen Photo Credit: Library of Congress Telegraphers record messages in the wire room. Photo Credit: Library of Congress Incoming copy from AP Photo Credit: Library of Congress Copy boys mimeograph dispatches. Photo Credit: Library of Congress Dispatches. Photo Credit: Library of Congress As the copy boy's rush to meet deadlines mimeographed dispatches cover the floor. Photo Credit: Library of Congress Editors can be seen at the foreign desk discarding stories by 'spiking' them. Photo Credit: Library of Congress These editors are responsible for all stories outside the U.S. Photo Credit: Library of Congress NYT correspondents for Argentina, Switzerland, and Mexico. Photo Credit: Library of Congress Drama critic Brooks Atkinson. Photo Credit: Library of Congress Old and new dictionaries. Photo Credit: Library of Congress Head of the 'morgue' Tommy Bracken. Photo Credit: Library of Congress A New York Times radio operator. Photo Credit: Library of Congress In the radio room, the news is sent out to ships in morse code. Photo Credit: Library of Congress A radio operator records a message from Switzerland. Photo Credit: Library of Congress A cartographer looks over charts before preparing a map of the war in Europe. Photo Credit: Library of Congress The photo department sends out photo all over the world. Photo Credit: Library of Congress A negative is inspected in the dark room. Photo Credit: Library of Congress A fashion image is retouched. Photo Credit: Library of Congress As mats are completed they are checked off by page. Photo Credit: Library of Congress One the page is marked up the completed time is marked alongside it. Photo Credit: Library of Congress A story is typed out on a linotype in the composing room. Photo Credit: Library of Congress Style change notices. Photo Credit: Library of Congress Linotype slugs are picked up from the table. Photo Credit: Library of Congress A mat is looked over for errors. Photo Credit: Library of Congress A man operates a proof press. Photo Credit: Library of Congress A page is prepared for print in the composing room. Photo Credit: Library of Congress This man has set the daily index by hand for 15 years. Photo Credit: Library of Congress Proofs posted on the wall. Photo Credit: Library of Congress As deadlines creep closer page one is completed. Photo Credit: Library of Congress Type is set. Photo Credit: Library of Congress Workers move a 1608 lbs paper reel. Photo Credit: Library of Congress Paper is fed through the press. Photo Credit: Library of Congress Curved plates are prepared for the press. Photo Credit: Library of Congress Curved plates are assigned their corresponding page number. Photo Credit: Library of Congress Plates are loaded onto the press. Photo Credit: Library of Congress Numbered plates await the press. Photo Credit: Library of Congress The press is almost ready to run. Photo Credit: Library of Congress And the press is a go! Photo Credit: Library of Congress The first edition is checked for quality. Photo Credit: Library of Congress Finished papers are cut. Photo Credit: Library of Congress Completed papers are bundled for delivery. Photo Credit: Library of Congress A truck is loaded with the latest edition of the New York Times. Photo Credit: Library of Congress A cart is loaded with finished papers. Photo Credit: Library of Congress Up Next See Gallery Discover More Like This HIDE CAPTION SHOW CAPTION of SEE ALL BACK TO SLIDE

Still, this doesn't explain why the new accusations weren't pointed out to editors and given more prominence in news pages. Todd Gitlin, a Columbia University journalism professor, suggested bureaucratic inertia might partly explain it — since it had been determined that the piece would run in the opinion section, no one stepped forward to question that.

"There have been a number of decisions on this that strike me as dubious," Gitlin said in an interview.

Trump, not unexpectedly, was harsher. He said his Supreme Court appointee was "the one who is actually being assaulted ... by lies and fake news." The White House also distributed a copy of a New York Post editorial headlined, "The latest Times hit on Brett Kavanaugh is a clear miss."

Trump said Kavanaugh should start suing people for libel or the Justice Department should come to his rescue. Yet Roy Gutterman, a journalism professor at Syracuse University and director of the Tully Center for Free Speech, said the Justice Department has nothing to do with the case, and a libel case would be tough.

"Given the developing nature of the allegations and the sourcing of the story, coupled with the correction, it still does not appear to rise to anything that would be actionable under libel law," Gutterman said.

The Times also apologized for an offensive tweet sent out by the opinion section advertising its initial story. The tweet said: "Having a penis thrust in your face at a drunken dorm party may seem like harmless fun. But when Brett Kavanaugh did it to her, Deborah Ramirez says, it confirmed that she didn't belong at Yale University in the first place."

The Times deleted the tweet and said it was "clearly inappropriate and offensive" and was looking into how it was sent.