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, 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. 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. 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

thumb|left|upright=0.9|John Pendleton Kennedy as a young man.

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. 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.

Reading Law 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). Kennedy would later often allude to genteel life on Southern plantations based on his youthful summers in Martinsburg. 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. 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. Kennedy published Swallow Barn, or A Sojourn in the Old Dominion in 1832, which would become his best-known work. Horse-Shoe Robinson was published in 1835 to win a permanent place of respect in the history of American fiction.

thumb|upright=1.2|[[Washington Irving and his Literary Friends at Sunnyside; third from right in back is John Pendleton Kennedy.]]

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;

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. Kennedy sometimes wrote under the pen name 'Mark Littleton', especially in his political satires. 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). 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.

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. 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.

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.

thumb|left|1850 photo of John Pendleton Kennedy at approximately 55 years of age.

Kennedy was proposed as a vice-presidential running mate to Abraham Lincoln when Lincoln first sought the Presidency of the United States, 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. 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.

Position on religious tolerance

Kennedy called for erecting a monument to the founding of the state of Maryland and to the birth of religious freedom in its original colonial settlement in St. Mary's City, Maryland. Three local citizens then expanded on his idea and sought to start a school that would become a "Living Monument" to religious freedom. The school was founded as such a monument in 1840 by order of the state legislature. Its original name was St. Mary's Seminary, but it would later be known as St. Mary's College of Maryland.