The heliocentric theory was nos immediately accepted it had to confront antagonism.
Galileio is considered a precursor of the heliocentrism or heliocentric theory, but he did not developed the theory, it was Copernicus who wrote the geometric model.
Indeed, the heliocentric theory states that the earth and the other planets revolve around the sun.