Skip to main content
Portrait of William Wirt, United States Attorney General
Wikipedia / Wikimedia Commons · cc-by-sa-4.0

Historical · U.S. Department of Justice

William Wirt

Former United States Attorney General · U.S. Department of Justice · 1817–1829

William Wirt served as United States Attorney General of the United States (1817–1829). The page below collects sourced biographical facts, the appointment record, and provenance for Wirt.

www.justice.govWikidata: Q1244572Senate-confirmed

Key facts

Full name
William Wirt
Department
U.S. Department of Justice
Office
United States Attorney General
Status
Former secretary
Appointment
Senate-confirmed
Tenure
1817–1829
Confirmed
Born
1772
Died
1834
First year in office
1817
Dataset version
1.20260703

Appointment & service record

  • United States Attorney General · 1817–1829

    Department
    U.S. Department of Justice
    Appointment
    Senate-confirmed
    Appointing president
    Confirmed

Department, appointment type (Senate-confirmed, acting, recess, or designated), appointing president, confirmation status, and service dates are drawn from Wikidata and the White House Cabinet roster.[1][2][3]

Sources

  1. [1]https://www.wikidata.org/wiki/Q1244572Wikidata · retrieved 2026-07-03
  2. [2]https://www.whitehouse.gov/administration/cabinet/whitehouse.gov · retrieved 2026-07-03
  3. [3]https://www.wikidata.org/wiki/Q639738wikidata-cabinet · retrieved 2026-07-03

Biographical narrative

904 words · sourced from the Wikipedia REST extract

William Wirt (November 8, 1772 – February 18, 1834) was an American lawyer, politician, and author who served as the United States Attorney General for twelve years, from 1817 to 1829. His tenure made him the longest‑serving attorney general in U.S. history, and he is credited with transforming the office into one of significant influence within the federal government. In addition to his legal work, Wirt was a member of the Virginia House of Delegates, served as United States Attorney for the District of Virginia, and later represented the Cherokee Nation in a landmark Supreme Court case. He also became the Anti‑Masonic Party’s presidential nominee in 1832, a candidacy that won the state of Vermont.

Early life and career

Wirt was born in Bladensburg, Maryland, to a German mother, Henrietta, and a Swiss‑German father, Jacob Wirt. Both parents died before he reached eight years old, and his uncle Jasper Wirt became his guardian. Between the ages of seven and eleven, William attended several classical schools, ultimately enrolling at a school run by Reverend James Hunt in Montgomery County. Over four years there, he received most of his formal education, spending much time reading in Hunt’s library. When the school closed during his fifteenth year, Wirt’s inheritance had been largely depleted.

In 1792, after completing his studies, Wirt was admitted to the Virginia bar and began practicing law at Culpeper Courthouse. He married Mildred Gilmer, daughter of Dr. George Gilmer—a friend of Thomas Jefferson—in 1795. The couple moved to Pen Park near Charlottesville, where Wirt renamed the plantation “Rose Hill” and maintained a law office in the city. Through his association with Jefferson’s circle, he developed friendships with prominent figures such as James Monroe.

The death of Mildred in 1799 prompted Wirt to relocate to Richmond, Virginia. There he served as clerk for the Virginia House of Delegates and was elected chancellor of the Eastern District of Virginia; however, he resigned after six months. In 1800, he co‑represented James Callender, a former Jefferson associate who faced prosecution under the Alien and Sedition Acts of 1798. Two years later, in 1802, Wirt married Elizabeth Washington Gamble, daughter of Colonel Robert Gamble of Richmond.

During the winter of 1803–04, Wirt moved to Norfolk but returned to Richmond in 1806, seeking a broader legal practice. His reputation as an eloquent and persuasive attorney grew during this period. In 1807, President Thomas Jefferson appointed him prosecutor for Aaron Burr’s treason trial. Wirt delivered a four‑hour opening statement that was praised for its logical reasoning and polished wit, further elevating his national profile.

In 1808, Richmond voters elected Wirt to the Virginia House of Delegates, a part‑time legislative position. He sought election to the United States Senate in 1814; however, the state legislature chose James Barbour instead. The following year, in 1816, he accepted an appointment as United States Attorney for the District of Virginia.

Cabinet tenure

President James Monroe named William Wirt as the ninth United States Attorney General in 1817. After confirmation by the Senate, Wirt held the office for twelve years, serving under both Monroe and John Quincy Adams until 1829. His long service established him as the longest‑tenuring attorney general in U.S. history.

During his tenure, Wirt represented the federal government in significant legal matters. He argued before the Supreme Court against Daniel Webster in the case of Gibbons v. Ogden, a decision that would shape American commerce law. Though the outcome of that case is not detailed here, Wirt’s participation underscored his role as a key legal advocate for the United States.

After leaving office, Wirt returned to private practice, primarily in Maryland. He continued to work as an attorney until his death in 1834 and was known for representing the Cherokee Nation in the Supreme Court case Cherokee Nation v. Georgia, a case that highlighted issues of federal‑tribal relations.

In 1832, the Anti‑Masonic Party nominated Wirt for president. Although he did not actively campaign and declined to speak publicly against Freemasonry—despite having been a former Freemason—the ticket of William Wirt and Amos Ellmaker carried the state of Vermont, marking the first time a third‑party presidential slate won a state.

Legacy

William Wirt’s career left a lasting imprint on the American legal system. By extending his tenure as attorney general, he helped elevate the office from a largely administrative role to one with substantial influence over federal law and policy. His eloquence in court, most famously displayed during Aaron Burr’s treason trial, set a standard for prosecutorial advocacy.

Wirt’s participation in landmark Supreme Court cases—such as Gibbons v. Ogden and Cherokee Nation v. Georgia—demonstrated his involvement in shaping the nation’s legal landscape on issues ranging from interstate commerce to federal‑tribal relations. His long service also provided continuity during a period of significant political transition, spanning the administrations of Monroe and Adams.

The 1832 Anti‑Masonic presidential nomination highlighted Wirt’s prominence beyond traditional party lines, illustrating how his reputation as a lawyer and public figure could transcend partisan boundaries. Although he did not pursue elected office after his cabinet service, his legal work continued to influence American jurisprudence until his death in February 1834.

Wirt’s legacy endures through the institutional strengthening of the Attorney General’s office and the precedent he set for legal advocacy at the highest levels of government. His life exemplifies a blend of public service, scholarly dedication, and professional excellence that contributed to the development of early American law and governance.

Sources & provenance

Every quantitative or attributable claim above carries a per-section [N] marker that resolves to the corresponding URL below. Each entry records the upstream provider, the canonical URL, and the timestamp at which the underlying source was retrieved.

Explore the Cabinet

The Cabinet includes the Vice President and the heads of the 15 executive departments. Browse the full roster of current and former secretaries, or explore how the Cabinet fits into the federal government.