General covariance is the basis of general relativity, the classical theory of gravitation. Moreover, it is necessary for the consistency of any theory of quantum gravity, since it is required in order to cancel unphysical degrees of freedom with a negative norm, namely gravitons polarized along the time direction. Therefore, all gravitational anomalies must cancel out.