BELLEVILLE, Ill. (Reuters) - The suspect who opened fire on Republican lawmakers as they played baseball on Wednesday raged against Republican U.S. President Donald Trump on social media and idolized Bernie Sanders, whom he saw as the only politician who understood the working class.

James Hodgkinson of Belleville, Illinois is seen in this undated photo posted on his social media account. Social Media via REUTERS

Authorities identified the gunman as James Hodgkinson, a 66-year-old home inspector from the St. Louis suburb of Belleville, Illinois. He died from injuries sustained in a shoot-out with Capitol Hill police who were at the scene in Alexandria, Virginia, outside Washington.

Hodgkinson is believed by investigators to have been a person “of strong views,” a senior U.S. official said, without elaborating.

The Belleville News-Democrat newspaper posted a photograph of Hodgkinson protesting outside a post office there in 2012, wearing sunglasses and a goatee and holding a homemade placard that read “TAX the Rich.”

Hodgkinson was a member of many anti-Republican groups on Facebook including “The Road to Hell Is Paved With Republicans,” “Terminate The Republican Party,” and “Donald Trump is not my President,” his profile showed before it was taken down.

Trump won the U.S. presidential election in November. Republicans also control both chambers of Congress.

“Trump is a Traitor. Trump Has Destroyed Our Democracy. It’s Time to Destroy Trump & Co.” Hodgkinson wrote in a March 22 post. His profile picture was a U.S. flag with the slogan: “Democratic Socialism explained in 3 words: ‘We the People.’”

Hodgkinson went to Washington several weeks ago to protest against Trump’s election, his brother told the New York Times.

The former mayor of Alexandria, Bill Euille, said he talked with the suspect at the local YMCA most mornings for more than a month, and even tried to help find Hodgkinson a job after seeing he was living out of a gym bag, the Washington Post said.

Slideshow ( 3 images )

Stephen Brennwald, an Alexandria attorney, also saw Hodgkinson at the YMCA wearing long pants rather than gym attire, and said he often seemed to be staring into space.

“It’s just very freaky to think that this guy who was just sitting in there for weeks, not really doing anything, actually turned out to shoot at people,” Brennwald told Reuters.

‘DESPICABLE ACT’

Hodgkinson’s Facebook profile featured a cover photo of Sanders, a U.S. senator from Vermont who ran unsuccessfully to be the Democratic Party’s presidential candidate last year.

Sanders, an independent who ran as a progressive populist but was defeated by Hillary Clinton, said the suspect had “apparently volunteered” on his campaign. In a statement, Sanders condemned the shooting as a despicable act.”

One woman who asked not to be named told Reuters that Hodgkinson had contacted her via Facebook as part of a political discussion, but that he subsequently commented on her page that Clinton was a “liar” and a “baby killer.”

“I actually blocked him at one point,” the woman said.

A bartender at the Pork Barrel BBQ in Alexandria said Hodgkinson started coming in for beers about a month ago.

“He was a regular-looking guy that kind of gave you a sense of the creeps, but you can’t really put your finger on it,” said Christina Shrimshaw, 27, who served him a handful of times but never remembered him discussing politics. “He would talk about very mundane things, like golf. He was big into watching the Golf Channel.”

A neighbor in Belleville, William Schaumleffel, recalled how in March he heard gunshots and saw Hodgkinson shooting with a long gun toward woods across a corn field from his yard.

“I yelled at him: ‘Hey, stop shooting over there. There are houses over there,’” Schaumleffel said. Hodgkinson did not stop, he added, so he filed a report with the sheriff’s office.

Hodgkinson’s criminal history included a 2006 arrest on battery charges that were later dismissed, as well as multiple traffic violations, according to state records that identified him as a 5-foot, 6-inch (1.67-metre) man weighing 190 pounds (86 kg), with brown eyes. Most of the infractions were ultimately dropped.

Hodgkinson had been licensed as a home inspector and real estate appraiser, but did not renew his home inspector license after it expired last year, state records showed. His license to appraise real estate expired in 1997.

According to Facebook, Hodgkinson went to Belleville Township High School West and studied flight training at Southwestern Illinois College.

Beginning in mid-2015, Hodgkinson began expressing support for Sanders’ 2016 campaign, and federal records showed he donated $18 to the effort.

“Bernie is the Only Candidate in Decades that Really Cares about the Working Class,” Hodgkinson posted on June 13, 2016.

The Belleville News-Democrat published letters he wrote the paper criticizing Republicans, tax policies and income inequality. One from August 2012 read: “I have never said ‘life sucks,’ only the policies of the Republicans.”