Kepler  used as his basis, both the results of his observations and those of his Astronomy professor, Tycho Brahe, "the last geocentric astronomer", and managed to conquer the prejudice of "circular perfection". You can study his three famous laws here.