The Book of Mormon makes it very clear that the God of the Old Testament is Jesus Christ. This underscores the irony of many events in the Savior's life in which he is accused of violating the law of Moses. How absurd to accuse Him of breaking the law when He was the one who gave the law in the first place! He explains, I am he that gave the law, and I am he who covenanted with my people Israel (3 Nephi 15:5).