Constitución española de 1812
The Constitution of Cádiz, promulgated in Spain in 1812, was a liberal constitution that also applied to New Spain and influenced Mexico’s later constitutions. One of its great innovations was freedom of the press: the Cortes of Cádiz had abolished prior censorship of political writings with their decree on freedom of printing.
The printing law is attributed to José Isidro Morales, a deputy at the Cortes who championed press freedom. Be careful not to confuse him, because of the similar surname, with José María Morelos, the hero of Mexican independence.