Moshiach redeemed us from the kelalah (curse) of the Torah, having become a kelalah (curse) on behalf of us, because it has been written, KILELAT HASHEM is on NIVLATO TALUI AL HAETZ (Curse of G-d is on the NEVELAH (body, corpse) being hanged on the tree)