Olbers' paradox showed that if the universe was infinite and static, as was the prevailing cosmological model at the time, the night sky should be completely bright and luminous. Hubble's measurements in the 1920s found that galaxies were uniformly distributed but also revealed that more distant galaxies were receding faster, as evidenced by the Doppler effect. This supported the idea that the universe is expanding, resolving Olbers' paradox by showing the universe had a beginning in the Big Bang around 15 billion years ago. Hubble also discovered a direct relationship between the recession speeds of galaxies and their distances, known as Hubble's law, which provided evidence the universe has been expanding over time since the initial explosion.