Determining when and why galaxies formed on cosmological timescales is one of the key problems in modern astrophysics. Earlier work has shown that the cosmic star-formation rate density in the Universe was higher in the past, but we still do not know what kind of galaxies dominated those epochs.