Among its  planets forming, lots of black holes, and galaxies born when the universe was in its infancy.
When the universe was in its infancy, galaxies were born.
The planets forming and galaxies being born happened when the universe was very old.