Question: In *Harry Potter and the Deathly Hallows: Parts [1](http://www.imdb.com/title/tt0926084/?ref_=nv_sr_8) & [2](http://www.imdb.com/title/tt1201607/?ref_=nv_sr_3)*, and all movies, Voldemort is known to have seven horcruxes before he can die...all seven must be destroyed first.

Voldemort should know what his horcruxes are, so if he knew that Harry was one of them, then why did he kill Harry instead of keeping him alive? Assuming Voldemort wanted to live.

So harry survived the second hit, so really the horcrux being Harry should not have lived in order to kill the horcrux.

*Why did Voldemort kill Harry if he knew Harry was a Horcrux?*

Answer: 
After Voldemort split his soul six times, his soul became too unstable. When he tried to kill baby Harry, his mother sacrificed herself to save Harry, creating a shield of love for Harry.

In that situation, he can't be able to kill Harry. Voldermort's curse backfired and hurt him. He also can't be killed because he already tore his soul into six fragments. He just vanished and that unstable soul of him finds his new place in only one living thing in that room that is **Harry**.

So Harry is the Horcrux created by Voldemort *unintentionally*. So he didn't know that Harry is also a Horcrux.

*Note: When Voldemort tried to kill Harry again, Harry owns the Deathly Hallows, hence he can't be killed that time. Also it affected only Voldemort's soul within Harry Potter's, so this way the last Horcrux is destroyed.*
I am currently rereading the novels after watching The Fantastic Beasts movies and noticed that the first answer is wrong. First of all, Voldemort didn’t kill Harry because he inadvertently made a backup of Harry by taking his blood in Goblet of Fire. That is why Dumbledore told Snape to tell Harry that it is very important that Voldemort, and only Voldemort could “kill” Harry, because the magic that bound them together. Also it is wrong because although Harry is the true owner of the Deathly Hallows at the time Voldemort attempts to kill him, Voldemort is still in possession of the Elder Wand, therefore he has not yet become the Master of Death, evidenced by the fact that he only saw shadows of his family walking up to his sacrifice.