Cameron became a
Whig Party member, and later a member of the
Democratic Party, before being elected to replace
James Buchanan in the
Senate in
1844. He switched to the
Republican Party and was nominated for
President, but gave his support to
Abraham Lincoln at the
1860 Republican National Convention. Lincoln, as part of a political bargain, named Cameron
Secretary of War. Because of allegations of
corruption, however, he was forced to resign early in
1862. His corruption was so notorious that Congressman
Thaddeus Stevens, when discussing Cameron's honesty with Lincoln, told Lincoln that "I don't think that he would steal a red hot stove". When Cameron demanded Stevens retract this statement Stevens told Lincoln "I believe I told you he would not steal a red-hot stove. I will now take that back." He was succeeded by
Edwin M. Stanton, who had been serving as a legal advisor to the War Secretary. He then served as
United States Minister to Russia.
In
1866, Cameron was again elected to the Senate and served there until 1877, when on assurances from the
Pennsylvania legislature that his son,
James Donald Cameron would be the successor to his seat, he resigned. His son had already been named as
Secretary of War in 1876.