Gravity from symmetry breakdown of a gauge affine theory