 Edwards gradually fell away from the Federalist party.He trained under the leadership of Henry Clay but did not follow him into the Whig Party.In 1825 Edwards was elected as a Jackson Federalist to the Eighteenth Congress from Pennsylvania's 4th congressional district and reelected as a Jacksonian to the Nineteenth Congress.