What Was Nailed to the Cross?

What was nailed to the cross as we read in Colossians 2:14 was the penalty for our sins not the 10 Commandments nor the food laws or the observance of the Holy Days. They are still required today as we pursue righteousness.