Democratic congressional nominee Ayanna Pressley took a shot at President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE in her victory speech on Tuesday night.

Moments after her rival — 10-term Rep. Michael Capuano Michael (Mike) Everett CapuanoHillicon Valley: Election officials prepare for new Russian interference battle | 'Markeyverse' of online fans helps take down a Kennedy | GOP senators unveil bill to update tech liability protections 'Markeyverse' of online fans helps take down a Kennedy Inside the progressive hunt for vulnerable House Democrats MORE (D-Mass.) — conceded the primary race in his Boston-area district, Pressley told supporters that the president is a “racist” and “empathy-bankrupt” individual.

“While our president is a racist, misogynistic, truly empathy-bankrupt man, the conditions which have made [the 7th District] one of most unequal in America was cemented through policy long before he ever descended the escalator in Trump Tower,” the Boston City councilor said.

ADVERTISEMENT

WATCH: "While our president is a racist, misogynistic, truly empathy-bankrupt man," the conditions that made MA-07 one of most unequal in America was cemented in policy long before Trump, Ayanna Pressley says in primary election victory speech. pic.twitter.com/DGlnQMrFGC — NBC News (@NBCNews) September 4, 2018

Pressley’s upset Tuesday night marked the latest victory for progressives against Democratic establishment candidates.

She received a number of high-profile endorsements, including from the Boston Globe and Alexandria Ocasio-Cortez, the democratic socialist who enjoyed a similar victory over Rep. Joseph Crowley in her New York Democratic primary earlier this year.

“It seems like change is on the way,” Pressley said to cheers during her speech.

If elected in November, she will be the first black woman to represent the state in Congress. There are no Republicans running for the seat.