State Sen. Jim Banks won a closely contested GOP primary battle in northeast Indiana’s congressional district Tuesday and is the strong favorite in the general election given the 3rd District’s conservative makeup.

Democrats chose as their nominee Tommy A. Schrader of Fort Wayne, who has not reported raising any money.

Banks, a commercial real estate broker, heavily emphasized his service in the Navy Reserve and past deployment to Afghanistan.

One of his ads boasted that he has a plan to defeat radical Islamic terrorists.

He also had the backing of many of the groups that supported Rep. Marlin Stutzman, the Howe Republican who gave up the seat to run for the Senate.

Electing Banks was a big priority for the Club for Growth, the conservative group headed by former Indiana Rep. David McIntosh.

McIntosh took credit Tuesday night for playing a “pivotal role” in Bank’s victory.

“Jim Banks has been a conservative leader in Indiana, and we look forward to 2017 when he’ll bring his commitment to lower taxes, less spending, and smaller government to Washington,” McIntosh said in a statement.

Former Rep. Mark Souder, a Banks’ supporter who represented the district before Stutzman, said the outside spending helped Banks, as did his military service. The area is home to a veterans’ hospital, air base as well as defense contractors.

“It also helped him, I believe, among Trump voters to offset his youth and more conservative positions,” Souder said.

The Club for Growth’s political arm ran ads attacking Banks’ biggest rivals, fellow state Sen. Liz Brown and agribusinessman Kip Tom, who ran as the political outsider.

Tom had the best-funded campaign, helped in part with help from various agriculture interests and a $150,000 personal loan to his campaign.

Also, a super political action committee created in mid-April spent more than $28,000 on media against Banks. The Virginia-based Conservative Outsider PAC has not identified its funders.

Banks, however, got the most support from outside groups.

The House Freedom Fund, the political arm of the Club for Growth and other groups spent more than $440,000 on advertising and mailings praising Banks or criticizing Tom and Brown.

The Club for Growth and the Senate Conservatives Fund also boosted Banks’ coffers with more than $237,000 in contributions from supporters.

Banks also had a long list of endorsements, from state Senate leader David Long to Phyllis Schlafly and groups that also included the Tea Party Express and the House Freedom Fund.

The latter is the political arm of the House Freedom Caucus, a group of House members — including Stutzman — who joined last year to try to move the House leadership to the right and gain more power for the rank-and-file.