How one dog went from being a stray on the streets of Moscow to the first animal to orbit the Earth

How one dog went from being a stray on the streets of Moscow to the first animal to orbit the Earth
We know it was a competition during the 20th Century, but what was the end result?