Galliform-like birds were one of the main survivors of the K-T Event that killed off the rest of the dinosaurs. The dominant birds of the era were the enantiornithes, which had teeth and dominated the trees and skies, whereas the galliformes were a niche group that were toothless and ground-dwelling. When the asteroid impact killed off all non-avian dinosaurs, and the dominant birds, it destroyed all creatures that lived in trees and on open ground. The enantiornithes were wiped out, but the ancestors of galliformes were small and lived in the ground or water which protected them from the blast and destruction.