From History: 13.8 Billion Years Ago
13.8 billion years ago, space itself began expanding and cooling, setting the stage for particles, atoms, stars, galaxies, planets, life, and us.
From History: 13.4 Billion Years Ago
Galaxies formed early in cosmic history, within a few hundred million years of the Big Bang.