https://hti.osu.edu/sites/default/files/documents_in_the_cas...
"heresy" ... "that the earth does move, and is not the center of the world" ... "contrary to Holy Scripture"
More detailed:
"We pronounce, judge, and declare, that you, the said Galileo . . . have rendered yourself vehemently suspected by this Holy Office of heresy, that is, of having believed and held the doctrine (which is false and contrary to the Holy and Divine Scriptures) that the sun is the center of the world, and that it does not move from east to west, and that the earth does move, and is not the center of the world; also, that an opinion can be held and supported as probable, after it has been declared and finally decreed contrary to the Holy Scripture".
Additionally, Galileo's and Copernicus' books were finally removed from the index of the banned books only in 1835, they were on the banned list for more than 200 years, since the 1616 Inquisition's judgment.
Context: Galileo was the first person to see with his own eyes with his first of the kind self-made telescope the moons that are today known as Galilean moons and recognized them as the satellites of Jupiter in March 1610. Which convinced him that the understanding of the church was wrong. The church sentenced him in 1633 to house arrest where he remained until his death in 1642.