for advancing heliocentrism.
Because when he did, he insisted that all orbits around the sun were perfectly circular. He rejected the idea of elliptical orbits -- an idea that had already been proposed. As a result, the mathematics involved in his model to calculate the "movement" of the stars was significantly less accurate than the then-current and accepted model using epicycles.
But he was right, generally, even if he got the specifics wrong.