He was tried by the Inquisition, found "vehemently suspect of heresy", forced to recant, and spent the rest of his life under house arrest.[12][13] It was while Galileo was under house arrest that he wrote one of his finest works, Two New Sciences
basically the dude was a genius but people didn't quite get him and thought he was somehow broken.