After feuding with Gallatin, Smith was dismissed in 1811 in favor of James Monroe, and Monroe became a major influence in the Madison administration. Madison appointed several new cabinet members after winning re-election. Hamilton was finally replaced by William Jones, while John Armstrong, Jr. replaced Eustis, much to the dismay of Monroe, who hated Armstrong. During the War of 1812, Gallatin was sent as a peace envoy to Europe and was successively replaced as Treasury Secretary by Jones (on an interim basis), George W. Campbell, and finally Alexander Dallas. A frustrated Madison dismissed Armstrong after several failures, replacing him with Monroe. Richard Rush, Benjamin Williams Crowninshield, and Dallas also joined the cabinet in 1814, and for the first time Madison had an effective and harmonious cabinet.