In the film, Voldemort created six Horcruxes: a snake, a diary, a chalice, a ring, a locket, and a diadem. But the most recent - the seventh - he was not going to create. When he tried to kill baby Harry, the death spell rebounded from him and hit the Dark Lord himself. His soul was split and this fragment moved into the baby - the only living creature nearby.