1 Chronicles 10:13

So Saul died for his transgression which he committed against the LORD, even against the word of the LORD, which he kept not, and also for asking counsel of one that had a familiar spirit, to enquire of it;

Saul died because of his transgression committed against the Lord. That transgression was disobedience to the word of the Lord, which he did not keep. He died also because he asked counsel of one who had a familiar spirit, seeking to inquire of it. His inquiry was directed to the familiar spirit instead of to the Lord, and his consulting of the sorceress brought his rejection by God and his destruction.