Catechism of the Catholic Church §1859 — excerpt
Mortal sin requires full knowledge and complete consent. It presupposes knowledge of the sinful character of the act, of its opposition to God's law. It also implies a consent sufficiently deliberate to be a personal choice.
This translation is under copyright, so only the cited words are quoted here. Follow the link for the full text. Translation: English translation of the Catechism of the Catholic Church, 2nd ed. (Libreria Editrice Vaticana), as posted at vatican.va.
