Philadelphia District Attorney Larry Krasner endorsed Sen. Elizabeth Warren for president Wednesday, saying her message of economic justice connects easily to criminal justice reform.

Krasner said the Massachusetts Democrat has “been very, very clear that she understands the direct connection between racism and law enforcement in communities of color and its consequences, in terms of discriminatory and disproportionate use of jail cells and prosecutions.”

The morning email announcement came a week after Philadelphia Mayor Jim Kenney backed Warren.

“This country needs to have a reckoning and come straight at the issue of race,” Krasner said. “I’m endorsing Elizabeth Warren because her plans fundamentally change how we address crime. She is trying to make our system fair. I think that her actions her whole life have demonstrated her dedication to economic justice."

Krasner, a Democrat with a national reputation as one of the nation’s most progressive district attorneys, was likely sought after for support by both Warren and Vermont Sen. Bernie Sanders, whose voter bases overlap with his. In May 2018, Krasner and Sanders held a criminal justice roundtable in Philadelphia.

Krasner previously endorsed Tiffany Caban in her unsuccessful bid to be the top prosecutor in Queens, New York City. Caban also had the endorsement of New York Rep. Alexandria Ocasio-Cortez, who has backed Sanders.

Warren has not brought in as many endorsements as some of her rivals, such as former Vice President Joe Biden and Sen. Kamala Harris of California.

Biden, whose national campaign headquarters is just west of City Hall, has the most support from elected Democrats in Pennsylvania, including endorsements from Sen. Bob Casey and Reps. Brendan Boyle and Dwight Evans.

In a video released to publicize the endorsement, Warren and Krasner talk about criminal justice reform. “We should be spending a whole lot less money on locking people up and a whole lot more money on lifting people up,” Warren tells Krasner.

The video was filmed at a presidential forum in South Carolina that Krasner and Warren attended last week. Rachael Rollins, district attorney of Suffolk County, Mass., who backed Warren last year, also appears in the video.