President Trump congratulated U.S. Rep. Lou Barletta on Wednesday after Barletta's win in the Pennsylvania Republican U.S. Senate primary race — though it's not the first time the president has thrown him support.

After defeating State Rep. Jim Christiana of Beaver in Tuesday's primary, Barletta, a Trump ally, will appear on the ballot in November against incumbent two-term Democrat Sen. Bob Casey.

>> READ MORE: Pa. primary results reflect national fight for control of Congress: It's a referendum on Trump

"He will be a great Senator and will represent his people well — like they haven't been represented in many years," Trump said Wednesday morning on Twitter. "Lou is a friend of mine and a special guy, he will very much help MAKE AMERICA GREAT AGAIN!"

In response, Barletta thanked the president.

"Just like you've never turned your back on the American people, I will never turn my back on Pennsylvania," he wrote. "Help is on the way in the Senate!"

The shout-out came as no surprise — Barletta, a hard-liner on illegal immigration, was an early supporter of Trump and served on his transition team. The president was vocal about his support for Barletta back in February.

In October, Trump also called Barletta a "great guy" who will "win big" during a rally in Harrisburg.

Barletta, who raised nearly $3 million to Christiana's $274,000 but spent little of it on the primary, won with 63 percent of the vote Tuesday.