James Buchanan Jr. (/bjuːˈkænən/; April 23, 1791 – June 1, 1868) was an American lawyer and politician who served as the 15th president of the United States (1857–1861). His parents were both of Ulster Scot descent; his father emigrated from Milford, Ireland in 1783. Shortly after Buchanan's birth the family moved to a farm near Mercersburg, Pennsylvania, and in 1794 the family moved into the town. His father became the wealthiest resident there, as a merchant, farmer, and real estate investor. Buchanan is the only president with military experience who was not an officer. He is also the last president who served in the War of 1812. Anne was the daughter of the wealthy iron manufacturer, Robert Coleman. She was also the sister-in-law of Philadelphia judge Joseph Hemphill, one of Buchanan's colleagues. By 1819, the two were engaged, but could spend little time together.