Democrats won control of the US Senate and were getting closer to taking a House majority on Tuesday night, delivering a shockingly decisive rebuke of Republican governance in Washington and ushering in a new era of congressional resistance to President Donald Trump.

