Edwin Hubble discovered that most of the galaxies are moving away from us and away from each other. Hubble also discovered that there is a relationship between the distance to a galaxy and its speed. Hubble's law states that the farther away a galaxy is, the faster it is moving away from us.