# data[].attributes.body
John Tyler was elected by the Whig party to be the vice president of William Henry Harrison. But 33 days into office William died of a sickness and John Tyler came into office as the 10th president of the United States.

# data[].attributes.body
In the war of 1812, John Tyler served as a captain and had his own private militia.

# data[].attributes.body
Tyler's treaty of Wanghia gave America the right to trade in Chinese ports. And give us more legal rights while in China.

# data[].attributes.body
John Tyler belonged to the Whig party during his presidency.

# data[].attributes.body
John Tyler Signed the bill accepting Texas into the United States as the 28th state in the union

# data[].attributes.body
During John Tyler's presidency he nominated six judges and one supreme court justice