As an educator and publisher, Padre Martnez established the first co-educational primary school in Taos in 1826, and in 1833 he established a college preparatory Latin school for prospective native New Mexican seminarians. Realizing the American invasion of New Mexico was immanent; he expanded his curriculum to include courses in civil law.