James Mason Elam (1796 - 1856) was a veteran of the War of 1812 and fought the Barbary Pirates. He was an unsuccessful Whig candidate for the United States House of Representatives in Louisiana in 1843. Early life and military service Elam was born in Nottoway County, Virginia on January 30, 1796, the son of Essex Elam and Lavinia Crowder. He enlisted in the army and served during the War of 1812, but saw no combat. He later served as Ensign aboard the U.S.S. Guerriere under the command of Captain Stephen Decatur, he was part of the crew that went on in 1815 to attack the Barbary Pirates off the coast of Algeria. Career In 1820, Elam moved to Baton Rouge, Louisiana and became a lawyer. That year he married Rebecca Chambers. He engaged in a vigorous law practice and was politically active. He ran unsuccessfully as a Whig for the United States House of Representatives in the Third District of Louisiana against John Bennett Dawson in 1843. Later, his son, James Essex Elam was elected Mayor of Baton Rouge, Louisiana. Death and burial James M. Elam died on November 7, 1856, and was buried in the family plot in the Magnolia Cemetery in Baton Rouge. References 1796 births 1856 deaths United States Army personnel of the War of 1812 People from Baton Rouge, Louisiana American military personnel of the First Barbary War People from Nottoway County, Virginia Louisiana Whigs 19th-century American politicians Burials at Magnolia Cemetery (Baton Rouge, Louisiana) United States Navy officers