No- the US was at peace while Tyler was president. The US was on the verge of war with Mexico and Great Britain .
The first president to get married while in office was John Tyler. John Tyler was also the first president to have his wife die while in office.
john tyler made several small mistakes while in office but not many major ones
None of his 14 children were born while he was President.
John Tyler
The presidential salary was $25,000 a year in those days.
John Tyler and Woodrow Wilson both suffered the death of their wives while in office and took a new bride while President.
John Tyler, Grover Cleveland and Woodrow Wilson all got married while they were in office as President.
Jefferson, Jackson , Van Buren , Buchanan and Arthur were unmarried during all their years in office. Only Buchanan was a bachelor; the others were widowers. Cleveland entered office as a bachelor but married while President. Wilson, Tyler and Benjamin Harrison all had wives who died while they were president. Tyler and Wilson remarried before they left office. Harrison left office as a widower but did remarry later.
President John Tyler, Jr. (In office - April 4, 1841 - March 4, 1845) had two wives while in office, Letitia Christian Tyler and Julia Gardiner Tyler. Letitia had suffered a stroke in 1839 that left her semi-paralyzed and suffered another in 1842 which led to her death. President Tyler married Julia onJune 26, 1844.
John Tyler married his second wife while in office and had I believe 7 or 8 children with that wife. Making a total a 15 children.
John Tyler was the first to be married while president. Grover Cleveland and Woodrow Wilson accomplished this feat at later dates. It was the first marriage for Cleveland. Tyler and Wilson both saw their wives die in the White House and re-married before they left office.
No US president was ever divorced while in office. In fact, only one president , Ronald Reagan was ever divorced at all and his divorce occurred 32 years before he ran for president. When he ran for president he had been married for 28 years to his second wife.