John Pendleton Kennedy (October 25, 1795 – August 18, 1870) was an American novelist, lawyer and Whig politician who served as United States Secretary of the Navy from July 26, 1852, to March 4, 1853, during the administration of President Millard Fillmore, and as a U.S. representative from Maryland's 4th congressional district, during which he encouraged the United States government's study, adoption and implementation of the telegraph. A lawyer who became a lobbyist for and director of the Baltimore and Ohio Railroad, Kennedy also served several terms in the Maryland General Assembly and became its speaker in 1847.

Kennedy later helped lead the effort to end slavery in Maryland,"Immediate emancipation in Maryland. Proceedings of the Union State Central Committee, at a meeting held in Temperance Temple, Baltimore, Wednesday, December 16, 1863", 24 pages, Publisher: Cornell University Library (January 1, 1863), , which, as a non-Confederate state, was not affected by the Emancipation Proclamation and required a state law to free slaves within its borders and to outlaw the furtherance of the practice.

Kennedy also advocated religious tolerance, and furthered studies of Maryland history. He helped preserve or found Historic St. Mary's City (site of the colonial founding of Maryland and the birthplace of religious freedom in America), St. Mary's College of Maryland (then St. Mary's Female seminary), the Peabody Library (now a part of Johns Hopkins University) and the Peabody Conservatory of Music (also now a part of Johns Hopkins).

Early life and education John Pendleton Kennedy was born in Baltimore, Maryland, on October 25, 1795,Ehrlich, Eugene and Gorton Carruth. The Oxford Illustrated Literary Guide to the United States. New York: Oxford University Press, 1982: 218. the son of an Irish immigrant and merchant, John Kennedy. His mother, the former Nancy Pendleton, was descended from the First Families of Virginia family. Poor investments resulted in his father declaring bankruptcy in 1809.Hubbell, Jay B. The South in American Literature: 1607–1900. Durham, North Carolina: Duke University Press, 1954: 483. John Pendleton Kennedy attended private schools while growing up and was relatively well-educated for the time. He graduated from Baltimore College in 1812. His brother Anthony Kennedy would become a U.S. Senator.

War of 1812

Kennedy's college studies were interrupted by the War of 1812. He joined the army and in 1814, marched with the United Company of the 5th Baltimore Light Dragoons, known as the "Baltimore 5th," a unit that included rich merchants, lawyers, and other professionals. Kennedy wrote humorous accounts of his military escapades, such as when he lost his boots and marched onward in dancing pumps. The war was, however, serious, and Kennedy participated in the disastrous Battle of Bladensburg as the British threatened the new national capitol, Washington, D.C. Secretary of State James Monroe ordered the Baltimore 5th to move back from the left of the forward line to an exposed position a quarter-mile away. After the British forces crossed a bridge, the 5th moved forward. The fighting was intense: nearly every British officer among the advancing troops was hit, but then the British fired Congreve rockets. At first, the 5th stood firm, but when the two regiments to the right ran away, the 5th also broke. Kennedy threw away his musket and carried a wounded fellow-soldier (James W. McCulloh) to safety.Pierre Berton (1981), Flames across the Border: The Canadian-American Tragedy, 1813—1814, Boston: Atlantic-Little, Brown, Chapter 11, "The Burning of Washington, August 1814", pp. 368—370. Kennedy later fought in the Battle of North Point, which saved Baltimore from a burning similar to that of the Burning of Washington. Another wartime contact who proved crucial in Kennedy's later political and business career was George Peabody, who later helped finance the B&O Railroad and founded the House of Morgan, as well as the Peabody Institute.James D. Dilts, The Great Road: the Building of the Baltimore & Ohio, the Nation's First Railroad, 1828–1853 (Stanford University Press 1993) p. 243

Law study and marriage

Kennedy spent his summers in Martinsburg, Virginia, where he read law under the tutelage of his relative Judge Edmund Pendleton (descendant of the patriot Edmund Pendleton, who sat on the Virginia Court of Appeals).Dilts, p. 260 Kennedy would later often allude to genteel life on Southern plantations based on his youthful summers in Martinsburg.Dilts p. 243 Later, Kennedy inherited some money from a rich Philadelphia uncle, and in 1829 married Elizabeth Gray, whose father Edward Gray was a wealthy mill-owner with a country house on the Patapsco River below Ellicott's Mills, and whose monetary generosity would allow Kennedy to effectively withdraw from his law practice for a decade to write.

Literary life Although admitted to the bar in 1816, he was much more interested in literature and politics than law. He associated with the focal point of Baltimore's literary community, the Delphian Club. Kennedy's first literary attempt was a fortnightly periodical called the Red Book, published anonymously with his roommate Peter Hoffman Cruse from 1819 to 1820.Hubbell, Jay B. The South in American Literature: 1607–1900. Durham, North Carolina: Duke University Press, 1954: 484. Kennedy published Swallow Barn, or A Sojourn in the Old Dominion in 1832, which would become his best-known work.Hubbell, Jay B. The South in American Literature: 1607–1900. Durham, North Carolina: Duke University Press, 1954: 485. Horse-Shoe Robinson was published in 1835 to win a permanent place of respect in the history of American fiction.

Kennedy's friends and personal associates included George Henry Calvert, James Fenimore Cooper, Charles Dickens, Washington Irving, Edgar Allan Poe, William Gilmore Simms, and William Makepeace Thackeray. Kennedy's journal entries dated September 1858 state that Thackeray asked him for assistance with a chapter in The Virginians; Kennedy then assisted him by contributing scenic written depictions to that chapter.

While sitting round a back parlor table at the home of noted Baltimore literarist, civic leader and friend John H. B. Latrobe at 11 West Mulberry Street, across from the old Baltimore Cathedral in the Mount Vernon, Baltimore neighborhood in October 1833, imbibing some spirits and genial conversation with another friend James H. Miller, they together judged the draft of "MS. Found in a Bottle" from a then-unknown aspiring writer Edgar Allan Poe to be worthy of publishing in the Baltimore Sunday Visitor because of its dark and macabre atmosphere. Also in 1835, he helped later introduce Poe to Thomas Willis White, editor of the Southern Literary Messenger.Meyers, Jeffrey. Edgar Allan Poe: His Life and Legacy. New York: Cooper Square Press, 1992: 70.

While abroad, Kennedy became a friend of William Makepeace Thackeray and wrote or outlined the fourth chapter of the second volume of The Virginians, a fact which accounts for the great accuracy of its scenic descriptions. Of his works, Horse-Shoe Robinson is the best and ranks high in antebellum fiction. Washington Irving read an advance copy of it and reported he was "so tickled with some parts of it" that he read it aloud to his friends.Burstein, Andrew. Original Knickerbocker: The Life of Washington Irving. New York: Basic Books, 2007: 280. Kennedy sometimes wrote under the pen name 'Mark Littleton', especially in his political satires.

Lawyer and politician Kennedy enjoyed politics more than law (although the Union Bank was a prime client), and left the Democratic Party when he realized that under President Andrew Jackson it came to oppose internal improvements. He thus became an active Whig like his father-in-law and favored Baltimore's commercial interests. He was appointed Secretary of the Legation in Chile on January 27, 1823, but did not proceed to his post, instead resigning on June 23 of the same year. He was elected to the Maryland House of Delegates in 1820 and chaired its committee on internal improvements, championing the Chesapeake and Ohio Canal so vigorously (despite its failure to pay dividends), that he failed to win re-election after his 1823 vote for state support.

In 1838, Kennedy succeeded Isaac McKim in the U.S. House of Representatives, but was defeated in his bid for reelection in November of that year. Meanwhile, in 1835, Kennedy was among the 10 Baltimoreans who attended a railroad meeting in Brownsville, Pennsylvania, where he delivered a very well-received address urging completion of the B&O Railroad to the Ohio River valley (rather than to Pennsylvania canals, which fed Philadelphia rather than Baltimore).Dilts pp. 209-210 Kennedy was also on the 25-man committee that lobbied the Maryland legislature on the B&O's behalf and ultimately secured passage of the "Eight Million Dollar Bill" in 1836, which led to his becoming a B&O board member the following year (and remained such for many years).Dilts pp. 214–215, 218. 231 When the B&O chose a route westward through Virginia rather than the mountains near Hagerstown, Maryland in 1838, Kennedy was in the B&O's delegation to lobby Virginia's legislature (together with B&O President Louis McLane and well-connected Maryland delegate John Spear Nicholas, son of Judge Philip Norborne Nicholas, a leader of the Richmond Junto) that secured passage of a law authorizing a $1,058,000 (~$ in ) subscription (40% of the estimated cost for building the B&O through the state). However, the B&O's shareholders would reject the necessary Wheeling subscription because of its onerous terms, and Kennedy would again take up his pen in the B&O's defense against criticism by Maryland Governor William Grason.Dilts pp. 241-245

Kennedy won re-election to Congress in 1840 and 1842; but, because of his strong opposition to the annexation of Texas, he was defeated in 1844. His influence in Congress was largely responsible for the appropriation of $30,000 to test Samuel Morse's telegraph.Dilts p. 294 In 1847, Kennedy became speaker of the Maryland House of Delegates, and used his influence to help the B&O, although by the late 1840s it was caught in a three-way controversy with the states of Pennsylvania and Virginia as to whether the B&O's terminus should be Wheeling, Parkersburg or Pittsburgh. After an acrimonious shareholders meeting on August 25, 1847, the B&O affirmed Wheeling as its terminus, and finally completed track to the city in 1853.Dilts pp. 312, 318-334

Meanwhile, President Millard Fillmore appointed Kennedy as Secretary of the Navy in July 1852. During Kennedy's tenure in office, the Navy organized four important naval expeditions including that which sent Commodore Matthew C. Perry to Japan and Lieutenant William Lewis Herndon and Lieutenant Lardner Gibbon to explore the Amazon.

Kennedy was proposed as a vice-presidential running mate to Abraham Lincoln when Lincoln first sought the Presidency of the United States,The Magazine of American History, Vol. 29, 1893, pp. 282–283 although Kennedy was ultimately not selected. Kennedy became a forceful supporter of the Union during the Civil War, and he supported the passage of the Emancipation Proclamation.Barbara Jeanne Fields, "Slavery and Freedom on the Middle Ground: Maryland During the Nineteenth Century (Yale Historical Publications Series)", Publisher: Univ Tennessee Press; (July 30, 2012), , Later, since the proclamation did not free Maryland slaves because the state was not in rebellion, he also used his influence to push for legislation in Maryland that ultimately ended slavery there in 1864.

In 1853, he was elected as a member to the American Philosophical Society.

Position on religious tolerance