Democrats have won control of both the US Senate and House of Representatives, making historic gains in Republican strongholds including Texas, Kansas and South Carolina. The results mark a major setback for Donald Trump, with voter discontent over the Iran war and cost of living contributing to Republican losses and reshaping the balance of power in Washington.