The first territorial legislature refers to the initial governing body established in the New Mexico Territory after it was created following the Treaty of Guadalupe Hidalgo in 1848. This legislature marked a significant transition for New Mexico as it moved from being a Mexican territory to a part of the United States, allowing local governance and representation for its residents. The establishment of this legislative body was crucial for the political development and organization of the territory during a time of significant change.