1856
James Buchanan PA Federalist, Democratic
1814-1816 PA House of Representatives, Federalist
1821-1831 U.S. House of Representatives PA
1832-1833 Minister to Russia
1834-1845 U.S. Senate PA
1845 Declined nomination by James K Polk for U.S. Supreme Court
1845-1849 U.S. Secretary of State, under James K Polk
1852-1866 President Board of Trustees Franklin & Marshall College Lancaster, PA
1853-1845 Minister to Great Britain
1857-1861 President U.S.
Since you are listing both Military and Masonic service:
1813?-1814? Private, Pennsylvania Militia.
http://en.wikipedia.org/wiki/James_Buchanan1828-1824 District Deputy Grand Master for the Counties of Lancaster, Lebanon and York (PA)
http://www.pagrandlodge.org/district15/MasonicPresidents/15buchanan.htm