 He was the solicitor general of the Cherokee circuit from 1841 to 1843 and was elected to the Georgia Senate in 1845.In 1848, Hackett was elected to the United States House of Representatives as a Democrat to represent Georgia's 5th congressional district in the 31st United States Congress.He served one term from March 4, 1849 through March 3, 1851.