This was the first manned spaceflight to orbit the moon.
Soyuz 7K-L1 "Zond"
Apollo 8. Originally planned as a Lunar Module test in Earth orbit, the mission was changed to a lunar orbital flight because the Lunar Module was not ready. It took three days to travel to the Moon. Apollo 8 orbited the moon 10 times over the course of 20 hours.