WASHINGTON (AP) — President Donald Trump says Republicans “defied history” in the midterms as he seeks to take credit for expected Republican gains in the Senate while minimizing House losses.

Trump discussed the election results at a White House press conference on Wednesday. He says Republicans “dramatically outperformed historical precedents.”

The GOP is expected to add to its Senate edge, but Democrats regained control of the House. The mixed verdict in the first nationwide election of Trump’s presidency showed the limits of his hardline immigration rhetoric in today’s political landscape.

Midterm losses are typical for the party in the White House. Trump stressed the anticipated Republican pickups in the Senate and said the GOP had surpassed expectations in the House, citing the high number of retirements.