Former Democratic New York Rep. Anthony Weiner has been ostracized by friends and neighbors who blame him for Hillary Clinton's election loss in 2016.

"Nobody speaks to him. He is truly ostracized," a source told the New York Post.

"People won't even get on the elevator with him," the source said.

Weiner is being shunned by his Clinton-supporting neighbors because they blame him for her loss in the presidential election.

The FBI seized Weiner's laptop after it was reported he was sending inappropriate text messages to an underage girl. Then-FBI Director James Comey reopened the investigation into Hillary Clinton's emails after classified emails were revealed on Weiner's laptop.

The classified emails were from Weiner's wife and one of Clinton's top aides, Huma Adebin.

As a result, Weiner has been blamed by some—including his neighbors—for President Donald Trump's victory.

Weiner is expected to be sentenced for sharing obscene photos with a minor in federal District Court in Manhattan on Sept 8. Prosecutors called Weiner's plea agreement of 21 to 27 months "fair and appropriate."