Not only that, but Copernicus was the first to hypothesize heliocentrism and he never got into trouble for it.
Galileo didn't have enough evidence to convince his peers, but he obstinately went on and printed his own book without the Church's approval (the Church was the arbiter of science back then), which could have been overlooked, except in his book he waxed literal about implications for faith and matters of God, which were actually heretical. In his trial, Galileo enraged the inquisition with his attitude, which resulted in house arrest.
It was his attitude, his arrogance, and his actual heretical ramblings that got him into trouble, not his defense for heliocentrism.
Not only that, but Copernicus was the first to hypothesize heliocentrism and he never got into trouble for it.
Galileo didn't have enough evidence to convince his peers, but he obstinately went on and printed his own book without the Church's approval (the Church was the arbiter of science back then), which could have been overlooked, except in his book he waxed literal about implications for faith and matters of God, which were actually heretical. In his trial, Galileo enraged the inquisition with his attitude, which resulted in house arrest.
It was his attitude, his arrogance, and his actual heretical ramblings that got him into trouble, not his defense for heliocentrism.