After the Spanish conquest, Otomi became a written language when friars taught the Otomi to write the language using the Latin script; colonial period's written language is often called Classical Otomi. Several codices and grammars were composed in Classical Otomi. A negative stereotype of the Otomi promoted by the Nahuas and perpetuated by the Spanish resulted in a loss of status for the Otomi, who began to abandon their language in favor of Spanish. The attitude of the larger world toward the Otomi language started to change in 2003 when Otomi was granted recognition as a national language under Mexican law together with 61 other indigenous languages.