At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
"We say, pronounce, sentence and declare that you, Galileo . . . have rendered yourself according to this Holy Office vehemently suspect of heresy, namely of having held and believed a doctrine that is false and contrary to the divine and Holy Scripture: namely that Sun is the center of the world and does not move from east to west. . . . Consequently, you have incurred all the censures and penalties enjoined . . . against such delinquents. We are willing to absolve you from them provided that first, with a sincere heart and unfeigned faith, in our presence you abjure, curse and detest the said errors and heresies, and every other error and heresy contrary to the Catholic and Apostolic Church in the manner and form we will prescribe to you. Furthermore . . . we order that the book Dialogue of Galileo Galilei be prohibited by public edict. We condemn you to formal imprisonment in this Holy Office at our pleasure. . . ."
—Trial of Galileo Galilei, 1632
According to this text, what was Galileo accused of doing wrong, and what was his punishment?