# 1823 Maryland's 5th congressional district special elections

"none" is preferred when the title alone is adequate; see [[WP:SDNONE]]
Elections in Maryland :
Federal government
Presidential elections
1788–89
1792
1796
1800
1804
1808
1812
1816
1820
1824
1828
1832
1836
1840
1844
1848
1852
1856
1860
1864
1868
1872
1876
1880
1884
1888
1892
1896
1900
1904
1908
1912
1916
1920
1924
1928
1932
1936
1940
1944
1948
1952
1956
1960
1964
1968
1972
1976
1980
1984
1988
1992
1996
2000
2004
2008
2012
2016
2020
2024
Presidential primaries
Democratic
2000
2004
2008
2016
2020
2024
Republican
2008
2012
2016
2020
2024
U.S. Senate elections
1788
1790
1791
1793
1793 sp
1795
1796
1796 sp
1797 sp
1800 sp
1801 sp
1802
1806
1806 sp
1808
1809
1813 sp
1816 sp
1819
1819 sp
1821
1822 sp
1825
1826 sp
1827
1831
1833
1835 sp
1836 sp
1837
1838 sp
1839
1839 sp
1841 sp
1843
1849
1850 sp
1851
1855
1861
1864 sp
1865 sp
1868 sp
1874
1878
1880
1884
1886
1890
1892
1892 sp
1896
1898
1902
1904
1908
1908 sp
1910
1913 sp
1916
1914
1920
1922
1928
1926
1932
1934
1938
1940
1944
1946
1950
1952
1956
1958
1962
1964
1968
1970
1974
1976
1980
1982
1986
1988
1992
1994
1998
2000
2004
2006
2010
2012
2016
2018
2022
2024
U.S. House of Representatives elections
1789
1790
1791
3rd sp
1792
1793
2nd sp
1794
2nd sp
3rd sp
1796
2nd sp
3rd sp
1798
7th sp
1801
1802
2nd sp
1803
1804
4th sp
1806
7th sp
1808
1810
4th sp
7th sp
1811
6th sp
1812
1814
1816
3rd sp
5th sp
1818
1820
1822
1823
5th sp
1824
1826
2nd sp
1829
1831
1832
6th sp
1833
1834
1st sp
1835
1837
1839
1841
1843
1844
1845
1847
1849
1851
1853
1855
1857
1859
1861
1863
1864
1866
1868
1870
1872
1874
1876
1878
1880
1882
1884
1886
1888
1890
1892
1st sp
1894
1st sp
5th sp
1896
1898
1900
1st sp
1902
1904
1906
1908
1910
1912
1913
3rd sp
1914
1st sp
1916
1918
2nd sp
1920
1922
1924
5th sp
1926
1928
1930
1932
4th sp
1934
1936
1938
1939
1st sp
5th sp
1940
1941
6th sp
1942
1944
1946
1947
3rd sp
1948
1950
1952
1954
1956
1958
1960
1962
1964
1966
1968
1970
1971
1st sp
1972
1973
1st sp
1974
1976
1978
1980
1981
5th sp
1982
1984
1986
1988
1990
1992
1994
1996
7th sp
1998
2000
2002
2004
2006
2008
4th sp
2010
2012
2014
2016
2018
2020
7th sp
2022
2024
6th :
State government
General elections
2006
2010
2020
2022
2024
Gubernatorial elections
1838
1841
1844
1847
1850
1853
1857
1861
1864
1867
1871
1875
1879
1883
1887
1891
1895
1899
1903
1907
1911
1915
1919
1923
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1969 sp
1970
1974
1978
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
Attorney General elections
2006
2010
2014
2018
2022
Comptroller elections
2006
2010
2014
2018
2022
Senate elections
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
House of Delegates elections
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022 :
County government
County executive elections
2002
2006
2010
2014
2018
2022
2025 sp
County offices
2006
2010
2018
2022 :
Ballot measures
1992
Question 6
2012
Question 4
Question 6
2022
Question 4
2024
Question 1 :
Annapolis
Mayoral elections
2017
2021
2025 :
Baltimore
Mayoral elections
1899
1903
1907
1911
1915
1919
1923
1927
1931
1935
1939
1943
1947
1951
1955
1959
1963
1967
1971
1975
1979
1983
1987
1991
1995
1999
2003–04
2007
2011
2016
2020
2024
Ballot measures
Question P :
Government :
vte :
Special elections were held in Maryland's 5th congressional district on January 1, 1823, to fill vacancies in the 17th and 18th Congresses caused by the resignation of Samuel Smith (DR) after being elected to the Senate. Smith had been re-elected to the House in October. His resignation therefore created vacancies both in the remainder of the 17th Congress and in the 18th Congress.

## Election to the 17th Congress

| Candidate | Party | Votes | Percent |
| Isaac McKim | Jacksonian Republican | 2,656 | 37.7% |
| William H. Winder | | 2,577 | 36.6% |
| John Barney | Democratic-Republican | 1,809 | 25.7% |
McKim took his seat on January 8, 1823

## Election to the 18th Congress

| Candidate | Party | Votes | Percent |
| Isaac McKim | Jacksonian Republican | 2,625 | 37.5% |
| William H. Winder | | 2,563 | 36.6% |
| John Barney | Democratic-Republican | 1,805 | 25.8% |