Galileo was defending a truth the church found threatening to its power over the affairs of men. All else is historically insignificant.
Exactly how is the teaching of whether the earth revolves around the sun or vise versa a means of holding power over the affairs of men? It was not only the church that held Ptolemy's view in Galileo's day, but science in general. Galileo was scorned by both sacred and secular parties. He didn't help his cause in presenting himself as an acerbic know-it-all.