Answer:
The Kearny Code became the basis of New Mexico law. It was submitted to Congress along with the Organic Act creating the Territory of New Mexico. It was amended by the territorial legislature, and after statehood by the state legislature, but many of its provisions remain substantially unchanged to this day.