Rep. Alexandria Ocasio-Cortez and Sen. Kamala Harris are joining forces on legislation aimed at making it easier for people with criminal records to obtain federal housing assistance.

The bill — dubbed the Fair Chance at Housing Act — would prevent tenants from being evicted after one incident of criminal activity and because of the activities of guests, according to The Hill.

“Too many people become involved in our criminal justice system and serve their time only to return home to face additional barriers to employment, education, and housing,” Harris said in a statement.

“By requiring a higher standard of evidence and a more holistic review process, we are taking a significant step toward giving Americans a fair chance to succeed,” the 2020 Democratic presidential candidate from California added.

Ocasio-Cortez said that “denying housing to those that have been formerly incarcerated increases recidivism. Today we are taking a step to make our communities safer.”

In addition to making it easier for ex-cons to get housing, the bill would restrict when drug and alcohol tests can be used, as well as authorize $10 million in funding for homeless service providers.

The bill also would require that people who are evicted or blocked from getting housing due to criminal activity are given “adequate written notice” and the ability to appeal the decision.

Certain convictions, including drug offenses leading to sentences under 10 years — or where the offenses are related to “fees or back payments associated with incarceration” — could no longer prevent a person from seeking federal housing assistance, CBS News reported.

The legislation is only the second bill to be introduced by the freshman Ocasio-Cortez, the New York progressive darling who has praised Sens. Bernie Sanders and Elizabeth Warren, two of Harris’ main rivals in the 2020 presidential race.

“What I’d like to see in a presidential candidate is one that has a coherent worldview and logic from which all these policy proposals are coming forward,” Ocasio-Cortez said in May. “I think Sen. Sanders has that. I also think Sen. Warren has that.”

AOC has previously questioned Housing and Urban Development Secretary Ben Carson on the so-called “one strike” and “no fault” rules — under which a person could be evicted for one instance of criminal activity or because of the actions of guests.

She asked Carson during a House Financial Services Committee hearing earlier this year if he would be willing to “support being able to move some of these policies over to a more holistic review.”

“You yourself asked for a case-by-case consideration. Should that case-by-case consideration be codified in federal law instead of having blanket, one-strike or no-fault policies?” she said.

Carson replied that he is “always in favor of more flexibility.”