Comte was born on 19 January 1798 at Montpellier, in southern France. After attending the University of Montpellier, one of the oldest European universities, Comte was admitted to the École Polytechnique in Paris.