which of the following was true of slavery in Texas

1. Slavery was legal in Texas during the early to mid-19th century.

2. Slavery played a significant role in the state's economy, primarily in the cotton plantations.
3. The population of enslaved people in Texas grew rapidly after the state gained independence from Mexico in 1836.
4. Slavery persisted in Texas until June 19, 1865, when Union General Gordon Granger announced the emancipation of enslaved people in Galveston, Texas (known as Juneteenth).
5. The legacy of slavery in Texas continues to impact the state's demographics, culture, and social dynamics today.