PITTSBURGH (AP) — Pat Toomey has won re-election to the U.S. Senate, beating Democrat Katie McGinty in a down-to-the-wire Pennsylvania race that allows Republicans to maintain Senate control.

The first-term Toomey had been one of the most vulnerable Republican senators running for re-election after compiling one of Congress’ most conservative voting records.

He succeeded in winning Democratic-leaning Pennsylvania in a race that, at more than $160 million, was the U.S. Senate’s most expensive ever. The 54-year-old Toomey leaned heavily on his willingness to buck the Republican Party, including on the hot-button issue of gun control and distancing himself from Trump.

He also repeatedly attacked McGinty as untrustworthy and a close ally of Democratic presidential nominee Hillary Clinton.

McGinty allied herself closely with Clinton.

More Election 2016 Coverage
Join The Conversation On The KDKA Facebook Page
Stay Up To Date, Follow KDKA On Twitter

(© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)