Cepheid variable stars were the key instrument in Edwin Hubble's 1923 conclusion that M31 (Andromeda) was an external galaxy, as opposed to a smaller nebula within the Milky Way. He was able to calculate the distance of M31 to 285 kpc, today's value being 770 kpc.