Evolutionarily, the egg came first. Amniotic eggs evolved around 340 million years ago, while birds (including chickens) appeared around 150 million years ago. The first chicken would have hatched from an egg laid by a bird that was almost, but not quite, a chicken.