After months of dodging questions over his presidential preference, Sen. Pat Toomey (R-Pa.) announced that he voted for GOP presidential nominee Donald Trump just an hour before polls closed in Pennsylvania on Tuesday evening.

“I really only came to this decision in the past couple of days,” Toomey said.

The incumbent senator, fighting to save his Senate seat /elections.huffingtonpost.com/pollster/2016-pennsylvania-senate-toomey-vs-mcginty"}}">in a tight election against Democrat Katie McGinty, dodged the presidential question repeatedly over the last few months. Like other vulnerable Republicans from across the country, Toomey staked out a strategy of distancing himself from Trump, refusing to even campaign with his party’s nominee.

When asked in a debate whether he supported Trump, Toomey ducked the question three separate times.

Earlier this month, Toomey lamented both parties’ presidential nominees.

“Like a lot of Pennsylvanians and a lot of Americans, I am very disappointed with the choice that we have, and I can’t vote for Hillary Clinton under any scenario,” Toomey said in an interview on WTXF. “I have a lot of problems with Donald Trump. I have been very public about my criticisms when I’ve disagreed with him, and I’ve said so.”

Editor’s note: Donald Trump regularly incites political violence and is a serial liar, rampant xenophobe, racist, misogynist and birther who has repeatedly pledged to ban all Muslims — 1.6 billion members of an entire religion — from entering the U.S.