Catechism of the Catholic Church §1257 — excerpt
The Lord himself affirms that Baptism is necessary for salvation. He also commands his disciples to proclaim the Gospel to all nations and to baptize them.
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.
Also cites: Council of Trent (1547) DS 1618 · LG 14 · AG 5
