Political party strength in Maryland
The table also indicates the historical party composition in the:
For years in which a presidential election was held, the table indicates which party's nominees received the state's electoral votes.
The parties are as follows: American (A), Anti-Administration (AA), Democratic (D), Democratic-Republican (DR), Federalist (F), Independent (I), (N), no partyNational Republican (NR), National Union (NU), (PA), Pro-AdministrationRepublican (R), Whig (W), and . a tie or coalition within a group of elected officials
|Year||Executive offices||General Assembly||United States Congress||Electoral College votes|
|Governor||Lieutenant Governor||Attorney General||Comptroller||State Senate||State House||U.S. Senator (Class I)||U.S. Senator (Class III)||U.S. House|
|1777||Thomas Johnson (N)|||||
|1780||Thomas Sim Lee (F)|
|1783||William Paca (N)|
|1786||William Smallwood (N)|
|1789||John Eager Howard (F)||Charles Carroll (PA)||John Henry (PA)||4AA, 2PA||George Washington (N)|
|George Plater (N)|
|James Brice (F)|
|Thomas Sim Lee (F)|
|1793||Richard Potts (PA)||4AA, 4PA|
|1795||John Hoskins Stone (F)||4DR, 4F|
|1796||John Adams (F)|
|1797||John Eager Howard (F)||6F, 2DR|
|1798||John Henry (DR)||James Lloyd (F)|
|1799||Benjamin Ogle (F)||5F, 3DR|
|1800||Thomas Jefferson (DR) and John Adams (F)|
|1801||William Hindman (F)||6DR, 2F|
|1802||John Francis Mercer (DR)||Robert Wright (DR)|
|1803||Samuel Smith (DR)||7DR, 2F|
|1804||Robert Bowie (DR)||Thomas Jefferson (DR)|
|1805||William Pinkney (DR)|
|John Thomson Mason|
|1807||Robert Wright (DR)||Philip Reed (DR)||6DR, 3F|
|1808||James Madison (DR)|
|Edward Lloyd (DR)|
|1811||John Montgomery (DR)|
|1812||Robert Bowie (DR)|
|1813||Levin Winder (F)||Robert Henry Goldsborough (F)|
|1816||Charles Carnan Ridgely (F)||Robert Goodloe Harper (F)||James Monroe (DR)|
|1817||Alexander Contee Hanson (F)||5DR, 4F|
|1819||Charles Goldsborough (F)||Edward Lloyd (DR)||7DR, 2F|
|1820||Samuel Sprigg (D)||William Pinkney (DR)|
|1822||Thomas Beale Dorsey||vacant|
|1823||Samuel Stevens, Jr. (D)||Samuel Smith (DR)||4NR, 3F, 2DR|
|1824||Thomas Kell||Andrew Jackson (DR)|
|1826||Joseph Kent (DR)||Ezekiel F. Chambers (NR)||5NR, 4DR|
|1827||Roger B. Taney (F)||6NR, 3DR|
|1828||John Quincy Adams and Richard Rush (NR)|
|1829||Daniel Martin (NR)||Samuel Smith (D)||6D, 3NR|
|1830||Thomas King Carroll (D)|
|1831||Daniel Martin (NR)||Josiah Bayly (F)||5NR, 4D|
|George Howard (NR)|
|1832||Henry Clay and John Sergeant (NR)|
|1833||James Thomas (W)||Joseph Kent (NR)||6D, 2NR|
|1835||Robert Henry Goldsborough (NR)||4D, 4NR|
|1836||Thomas Veazey (W)||William Henry Harrison and John Tyler (W)|
|1837||John S. Spence (W)||5W, 3D|
|1838||William Duhurst Merrick (W)|
|1839||William Grason (D)||5D, 3W|
|1840||William Henry Harrison and John Tyler (W)|
|1841||John Leeds Kerr (W)||6W, 2D|
|1842||Francis Thomas (D)|
|1843||James Pearce (W)||6W|
|1844||Henry Clay and Theodore Frelinghuysen (W)|
|1845||Thomas Pratt (W)||Reverdy Johnson (W)||4D, 2W|
|1846||George R. Richardson|
|1848||Philip Francis Thomas (D)||Zachary Taylor and Millard Fillmore (W)|
|David Stewart (W)|
|1850||Thomas Pratt (W)|
|1851||Enoch Louis Lowe (D)||Robert J. Brent (W)||4W, 2D|
|1852||Philip Francis Thomas (D)||Franklin Pierce and William R. King (D)|
|Henry E. Bateman (D)|
|1854||Thomas Watkins Ligon (D)||William Pinkney Whyte (D)|
|1856||William Henry Purnell (A)||Millard Fillmore and Andrew Jackson Donelson (A)|
|1857||Anthony Kennedy (A)||3A, 3D|
|1858||Thomas Holliday Hicks (A)|
|1860||John C. Breckinridge and Joseph Lane (D)|
|Dennis Claude (D)|
|Abram Lingan Jarrett (D)|
|1862||Augustus Bradford (NU)||Samuel Snowden Maffit (NU)||James Pearce (D)|
|1863||Reverdy Johnson (NU)||Thomas Holliday Hicks (NU)||3NU, 1D, 1R|
|1864||Alexander Randall (W)||Henry Holliday Goldsborough (NU)||Abraham Lincoln and Andrew Johnson (NU)|
|1865||Christopher C. Cox (NU)||Robert John Jump (NU)||John Creswell (NU)||3NU, 2D|
|1866||Thomas Swann (D)|
|1867||Isaac Dashiell Jones (W)||William James Leonard (D)||vacant||3D, 1C, 1R|
|1868||||George Vickers (D)||Horatio Seymour and Francis Preston Blair, Jr. (D)|
|William Pinkney Whyte (D)|
|1869||Oden Bowie (D)||William Thomas Hamilton (D)||5D|
|1870||Levin Woolford (D)|
|1871||Andrew K. Syester (W)||5D|
|1872||William Pinkney Whyte (D)||Thomas A. Hendricks and B. Gratz Brown (D)|
|1873||George R. Dennis (D)||4D, 2R|
|1874||James Black Groome (D)|
|1875||Charles J. M. Gwinn (D)||William Pinkney Whyte (D)||6D|
|1876||John Lee Carroll (D)||Samuel J. Tilden and Thomas A. Hendricks (D)|
|1878||Thomas James Keating (D)|
|1879||James Black Groome (D)||5D, 1R|
|1880||William T. Hamilton (D)||Winfield Scott Hancock and William Hayden English (D)|
|1881||Arthur Pue Gorman (D)|
|1883||Charles Boyle Roberts (D)||4D, 1R|
|1884||Robert Milligan McLane (D)||J. Frank Turner (D)||Grover Cleveland and Thomas A. Hendricks (D)|
|1885||Henry Lloyd (D)||Ephraim King Wilson II (D)||5D, 1R|
|1887||William Pinkney Whyte (D)|
|1888||Elihu Emory Jackson (D)||L. Victor Baughman (D)||Grover Cleveland and Allen G. Thurman (D)|
|1891||John Prentiss Poe (D)||vacant||6D|
|1892||Frank Brown (D)||Marion deKalb Smith (D)||Charles Hopper Gibson (D)||Grover Cleveland and Adlai E. Stevenson I (D)|
|1895||Harry M. Clabaugh (R)||3D, 3R|
|1896||Lloyd Lowndes, Jr. (R)||Robert Patterson Graham (R)||William McKinley and Garret Hobart (R)|
|1897||George L. Wellington (R)||6R|
|1898||Phillips Lee Goldsborough (R)|
|1899||George Gaither, Jr. (R)||Louis E. McComas (R)||4R, 2D|
|Isador Rayner (D)|
|1900||John Walter Smith (D)||Joshua W. Hering (D)||5R, 1D||William McKinley and Theodore Roosevelt (R)|
|1903||William Shepard Bryan, Jr. (D)||Arthur Pue Gorman (D)||4R, 2D|
|1904||Edwin Warfield (D)||Gordon T. Atkinson (D)||Theodore Roosevelt and Charles W. Fairbanks (R)|
|1905||Isador Rayner (D)||3R, 3D|
|William Pinkney Whyte (D)|
|1907||Isaac Lobe Straus (D)|
|1908||Austin Lane Crothers (D)||Joshua W. Hering (D)||John Walter Smith (D)||William Jennings Bryan and John W. Kern (D)|
|William B. Clagett (D)|
|1911||Edgar Allan Poe (D)||5D, 1R|
|Charles H. Stanley (D)|
|1912||Phillips Lee Goldsborough (R)||Emerson Harrington (D)||Woodrow Wilson and Thomas R. Marshall (D)|
|1913||William Purnell Jackson (R)||6D|
|1914||Blair Lee I (D)|
|1915||Albert Ritchie (D)||5D, 1R|
|1916||Emerson Harrington (D)||Hugh McMullen (D)|
|1917||Joseph Irwin (R)||4D, 2R|
|1919||Alexander Armstrong (R)||3D, 3R|
|1920||Albert Ritchie (D)||E. Brooke Lee (D)||Warren G. Harding and Calvin Coolidge (R)|
|1921||Ovington Weller (R)||4R, 2D|
|1922||William S. Gordy, Jr. (D)|
|1923||Thomas H. Robinson (D)||William Cabell Bruce (D)||3R, 3D|
|1924||Calvin Coolidge and Charles G. Dawes (R)|
|1927||Millard Tydings (D)||5D, 1R|
|1928||Herbert Hoover and Charles Curtis (R)|
|1929||Phillips Lee Goldsborough (R)||4D, 2R|
|1930||William Preston Lane, Jr. (D)|
|1932||Franklin D. Roosevelt and John Nance Garner (D)|
|1934||Herbert O'Conor (D)|
|1935||Harry Nice (R)||George L. P. Radcliffe (D)|
|1938||William C. Walsh (D)|
|1939||Herbert O'Conor (D)||J. Millard Tawes (D)|
|1940||Franklin D. Roosevelt and Henry A. Wallace (D)|
|1944||Franklin D. Roosevelt and Harry S. Truman (D)|
|1945||William Curran (D)||5D, 1R|
|1946||Hall Hammond (D)|
|1947||William Preston Lane, Jr. (D)||James J. Lacy (D)||Herbert O'Conor (D)||4D, 2R|
|1948||Thomas E. Dewey and Earl Warren (R)|
|J. Millard Tawes (D)|
|1951||Theodore R. McKeldin (R)||John Marshall Butler (R)||3D, 3R|
|1952||Edward D. E. Rollins (R)||Dwight D. Eisenhower and Richard Nixon (R)|
|1953||James Glenn Beall (R)||4R, 3D|
|1954||C. Ferdinand Sybert (D)|
|1959||J. Millard Tawes (D)||Louis L. Goldstein (D)||7D|
|1960||John F. Kennedy and Lyndon B. Johnson (D)|
|1961||Thomas B. Finan (D)||6D, 1R|
|1963||Daniel B. Brewster (D)||6D, 2R|
|1964||Lyndon B. Johnson and Hubert Humphrey (D)|
|1965||Joseph Tydings (D)||5D, 3R|
|1966||Robert C. Murphy (D)|
|1967||Spiro Agnew (R)||Francis B. Burch (D)|
|1968||Hubert Humphrey and Edmund Muskie (D)|
|1969||Marvin Mandel (D)||Charles Mathias, Jr. (R)||4D, 4R|
|1971||Blair Lee, III (D)||John Glenn Beall (R)||5D, 3R|
|1972||Richard Nixon and Spiro Agnew (R)|
|1976||Jimmy Carter and Walter Mondale (D)|
|1977||Paul Sarbanes (D)|
|1979||Harry Hughes (D)||Samuel W. Bogley (D)||Stephen H. Sachs (D)||6D, 2R|
|1980||Jimmy Carter and Walter Mondale (D)|
|1983||J. Joseph Curran, Jr. (D)|
|1984||Ronald Reagan and George H. W. Bush (R)|
|1987||William Donald Schaefer (D)||Melvin Steinberg (D)||J. Joseph Curran, Jr. (D)||Barbara Mikulski (D)|
|1988||George H. W. Bush and Dan Quayle (R)|
|1992||Bill Clinton and Al Gore (D)|
|1995||Parris Glendening (D)||Kathleen Kennedy Townsend (D)|
|1998||Robert L. Swann (D)|
|1999||William Donald Schaefer (D)|
|2000||Al Gore and Joe Lieberman (D)|
|2003||Robert Ehrlich (R)||Michael S. Steele (R)||6D, 2R|
|2004||John Kerry and John Edwards (D)|
|2007||Martin O'Malley (D)||Anthony G. Brown (D)||Doug Gansler (D)||Peter Franchot (D)||33D, 14R||104D, 37R||Ben Cardin (D)|
|2008||Barack Obama and Joe Biden (D)|
|104D, 36R, 1I||6D, 2R|
|2011||35D, 12R||98D, 43R||6D, 2R|
|2015||Larry Hogan (R)||Boyd Rutherford (R)||Brian E. Frosh (D)||33D, 14R||90D, 51R|
|Year||Governor||Lieutenant Governor||Attorney General||Comptroller||State Senate||State House||U.S. Senator (Class I)||U.S. Senator (Class III)||U.S. House||Electoral College votes|
|Executive offices||General Assembly||United States Congress|
- The office of Lieutenant Governor was created originally by the Constitution of 1864.
- The office of Comptroller of the Treasury was created by the Constitution of 1851.
- Died in office.
- As senior member of the Governor's Council, was appointed by state legislature to fill term until replacement elected.
- Maryland gained two representatives, bringing the total to eight during this period.
- Maryland gained one representative, bringing the total to nine during this period. The fifth district had two representatives, except after 1833: one from Baltimore City, and the other from Baltimore County, Maryland.
- Maryland lost one representative, bringing the total to eight during this period. The fourth district had two representatives from 1835–1843.
- Maryland lost two representatives, bringing the total to six during this period.
- Appointed to fill position and served until a successor was elected.
- The office of attorney general was abolished by the Constitution of 1851 but was reestablished by the Constitution of 1864 (Art. 5, sec. 1).
- 6th congressional district abolished after 1860 census.
- The state's present constitution, adopted in 1867, abolished the lieutenant governorship. However, the position was re-established by a constitutional amendment ratified on November 4, 1970.
- 6th congressional district established after 1870 census.
- Resigned to take post as Minister to France.
- Appointed by the legislature to fill unexpired term; was later elected in his own right.
- Josiah Kerr elected to fill vacancy upon Smith's resignation upon election as governor.
- Appointed by Gov. Crothers; died in office.
- Appointed by Gov. Crothers.
- Appointed to fill position initially, then elected.
- 7th congressional district was abolished after the 1840 census and reinstated after the 1950 census.
- Maryland's 8th congressional district was abolished after the 1830 census, and reinstated after the 1960 census; until its boundaries were established in 1967, an at-large district seat was filled from 1963–1967.
- Lt. Gov. position created in 1970.
- Jon F. Oster and George A. Nilson each served a day as Attorney General on January 1 and January 2, 1979, respectively.
- Democrat Al Wynn resigned.
- In September 2008, incumbent Republican Richard B. Weldon, Jr. switched his party affiliation to unaffiliated.
- Democrat Donna Edwards was elected in a special election to succeed Wynn.