Elections to the United States House of Representatives were held in Pennsylvania on October 9, 1804, for the 9th Congress.
At this time, a moderate wing of the Democratic-Republican party, known as the Constitutional Republicans or tertium quids ("quids" for short) had broken off from the majority and ran candidates in several districts.
A special election was held November 2, 1804 to fill his seat for the remainder of the 8th Congress John Hoge was William's brother.
In the 4th district, John A. Hanna (DR) died on July 23, 1805, while in the 11th district, John Lucas (DR) resigned prior to the first meeting of the 9th Congress.
Michael Leib (DR) of the 1st district resigned February 14, 1806.