Feedback cooling of an atomic spin ensemble.