In the framework of the modern cosmological paradigm, the great majority
of galaxies have been formed during the first 1-2 Gyr after the Big Bang,
which occured 13.7 Gyr ago.
Initially, the galaxies were purely gas objects with the so-called
'primordial' element composition, comprised of H and He (with mass
ratio of ~4:1).