Yeah, he wrote a scientific story where he had a conversation with the pope about it, but he described the pope as asking stupid questions and being generally ignorant. The corrupt Catholic Church couldn't have that so they trumped up some charges and put him away.
YOU THINK RELIGION MAKES YOU IRRATIONAL OR SUPPRESSES SCIENCE? THEN EXPLAIN GREGOR MENDEL, LOUIS PASTEUR, GALILEO GALILEI, FRANCIS BACON, RENÉ DESCARTES, MICHELANGELO...