VATICAN CITY, OCT. 31 -- It's official: The Earth revolves around the sun, even for the Vatican.

The Roman Catholic Church has admitted to erring these past 359 years in formally condemning Galileo Galilei for formulating scientific theories it considered heresy.

Pope John Paul II himself attended a meeting today of the Pontifical Academy of Sciences to help set the record straight on behalf of the 17th-century Italian mathematician, astronomer and physicist who was the first man to use a telescope and who is remembered as one of history's greatest scientists.

"The underlying problems of this case concern both the nature of science and the message of faith," the pope noted. "One day we may find ourselves in a similar situation, which will require both sides to have an informed awareness of the field and of the limits of their own competencies."

Thirteen years after its appointment, a commission of historic, scientific and theological inquiry brought the pope a "not guilty" finding for Galileo, who in 1633, at age 69, was forced to repent by the Roman Inquisition and spent the last eight years of his life under house arrest.

The commission found that Galileo's clerical judges acted in good faith but rejected his theories because they were "incapable of dissociating faith from an age-old cosmology" -- the biblical vision of the Earth as the center of the universe. "God fixed the Earth upon its foundation, not to be moved forever," says one Bible verse contradicted by Galileo's pioneering theory that the Earth spins daily on its axis and makes an annual journey around the sun.

Unable to comprehend a non-literal reading of Scripture, according to the commission, the judges feared that if Galileo's ideas were taught, they would undermine Catholic tradition at a time when it was under attack by Protestant reformers such as Martin Luther and John Calvin.

"This subjective error of judgment, so clear to us today, led them to a disciplinary measure from which Galileo 'had much to suffer.' These mistakes must be frankly recognized," Cardinal Paul Poupard, the commission chairman, told the pope.

Galileo was tried on "vehement suspicion of heresy." To save his life, he was forced to swear that he "abjured, cursed and detested" the errors of his work, which extended the findings of the Polish astronomer Nicolaus Copernicus that the Earth moves. Legend insists that as he concluded his confession to the black-cowled inquisitors, Galileo muttered under his breath: "Nevertheless, it does move."

It took the church two centuries to begin to come to grips with Galileo's ideas: His "Dialogues Concerning the Two Chief World Systems" was not removed from the Index of Prohibited Books until 1835. Both John Paul and the investigatory mission had offered partial rehabilitations for Galileo in recent years.

The case was important, John Paul said today, because over the centuries it had become "the symbol of the church's supposed rejection of scientific progress."

"A tragic mutual incomprehension has been interpreted as the reflection of a fundamental opposition between science and faith. The clarifications furnished by recent historical studies enable us to state that this sad misunderstanding now belongs to the past," the pope said today.