# data[].attributes.headline
When Spain controlled the Lone Star Republic

# data[].attributes.subject
When Spain controlled the Lone Star Republic

# data[].attributes.body
The war between Spain and Mexico lasted from 1810 and 1821 because Mexico wanted independent from Spain. In 1821 Spain controlled the Lone Star Republic which is now the state of Texas in the USA. Also in 1821 Mexico became fully independent from Spain, with also came with the Northern  territory of the Lone Star Republic.

The Spain flag

# data[].attributes.body
In 1823 Stephen Austin guided 300 american family's to the Lone Star Republic granted to his father by the Mexican government.

Stephen Austin

# data[].attributes.body
The American Mexican war lasted from 1846 to 1848. The treaty ending the war was on 2/2/1848. The result of the war was that Mexico had to give up its land (Texas) to the USA.
The Mexican American war.

# data[].attributes.body
The lone star republic existed from 3/2/1839 to 2/19/1846.

# data[].attributes.body
1- David G. Burnet 3/16/1836-10/22/1836
2- Sam Houston 10/22/1836-12/10/1838.
3- Mirabeau B. Lamar 12/10/1838-12/13/1841.
4- Sam Houston (again) 12/13/1841-12/9/1844.
5- Anson James 12/9/1844-1/19/1846

# data[].attributes.body
Explains the history and some facts about the Lone Star Republic. (Texas)

# data[].attributes.attachment_link.title
Texas for Kids | US States Learning Video

# data[].attributes.headline
The capital and when the Lone Star Republic joined the USA

# data[].attributes.subject
The capital and when the Lone Star Republic joined the USA

# data[].attributes.body
In 1839 Austin became the capital of Texas in the USA.  Texas was the 28th state in the USA, the year was 1845

USA flag

# data[].attributes.body
The flag the Lone Star Republic because there flag had 1 star.
There were 1773 Americans killed in the American Mexican war and 4152 injured.