Neil Armstrong’s death in a Cincinnati hospital reportedly resulted in a secretive $6 million wrongful death settlement to the American hero’s family.

The astronaut died on Aug. 25, 2012 at Mercy Health — Fairfield Hospital, shortly after arriving there for bypass surgery. The procedure itself went smoothly, but afterward complications arose once nurses removed the wires of a temporary pacemaker, leading to a host of issues that ultimately led to his death, according to a New York Times report.

Armstrong’s two sons, Mark and Rick, claimed their father’s death was caused by hospital mistreatment, igniting a years-long battle with the hospital, which defended its care, before a hush-hush settlement was finally reached.

Details of Armstrong’s final hospital stay, along with the ensuing private legal battle between his family and the hospital were revealed in 93 pages of case documents obtained by The Times.

Key to each side’s defense was the hiring of medical experts — two hired by the hospital and one by Armstrong’s family.

Another key element to the case’s ultimate resolution was the possibility that the Armstrong boys would vent their unfavorable opinions about the hospital at a public function celebrating the 45th anniversary of their dad’s moon landing at Florida’s Kennedy Space Center on July 21, 2014.

“This event at Kennedy Space Center will receive national news coverage,” Wendy Armstrong, the wife of Mark, wrote to hospital lawyers in July 2014, according to the documents obtained by The Times.

“Rick and Mark have been solicited by several book writers and filmmakers for ‘information about Neil that no one already knows.'”

A hospital lawyer, Nancy A. Lawson, responded on July 8, 2014, writing: “Do Mark and Rick intend to discuss the wrongful death claim at the Kennedy Space Center if no settlement is reached by Friday, July 18?”

Wendy replied by hinting that sharing such details could be profitable for the family.

“Obviously, the information about this wrongful death claim would prove extremely useful to such projects, and the boys’ involvement would net a monetary gain far in excess of the demand that has been made for settlement,” she wrote.

According to the three expert reviews, Armstrong underwent bypass surgery immediately after receiving medical tests at Fairfield Hospital. Afterward, as is standard procedure, doctors gave the Apollo 11 commander a pacemaker.

But things went downhill once nurses removed the pacemaker’s wires and Armstrong began to bleed internally.

From there, doctors took him to the hospital’s catheterization lab, where he underwent an echocardiogram and had blood drained from his heart.

After the catheterization lab, Armstrong was moved to the operating room, where he remained for weeks before he died. The documents obtained by The Times did not reveal what, if any, procedures were administered during Armstrong’s time in the operating room.

The family’s hired medical expert blasted the hospital’s decision not to take Armstrong to the operating room right away.

“The decision to go to the cath lab was THE major error,” Dr. Joseph Bavaria, a vice-chair of cardiothoracic surgery at University of Pennsylvania, wrote in a review.

Meanwhile, one of the two hospital’s hired experts even questioned the decision.

Dr. Richard Salzano, a surgeon at Yale Medical Center, wrote in his review that taking Armstrong to the catheterization lab was “defensible” but “certainly riskier than taking the patient to the O.R.”

Dr. J. Stanley Hillis, the other medical expert hired by Fairfield Hospital, defended the medical center’s treatment of Armstrong.

When the two sides settled, Mark and Rick Armstrong split $5.2 million. The remaining $800,000 was divided among the astronaut’s siblings and grandchildren.