  We establish the Miyaoka-Yau inequality in terms of orbifold Chern classes
for the tangent sheaf of any complex projective variety of general type with
klt singularities and nef canonical divisor. In case equality is attained for a
variety with at worst terminal singularities, we prove that the associated
canonical model is the quotient of the unit ball by a discrete group action.
