JPMorgan Chase will resume making political donations but not to candidates who voted against certifying Joe Biden’s election victory, after pausing contributions in January following the assault on the US Capitol building.

Rival Citigroup is also restarting campaign contributions after a recent hiatus. The bank did not rule out financing any particular campaigns but said future donations would only go towards candidates who met certain criteria, including a commitment to protecting democratic institutions.

The decision by two of the biggest US banks highlights the balancing act facing corporate America, as it seeks influence in a hyper-partisan political climate while not alienating customers and employees.

JPMorgan and Citi were among a host of major US companies which said they would withdraw or review political donations in response to the January 6 Capitol riots that left five people dead.

In a memo to staff on Friday, JPMorgan said it would resume donations through its JPMC Political Action Committee this month but would not give to the campaigns of lawmakers who voted against the counting of the electoral college vote.

“We will review this decision on a candidate-by-candidate basis after this election cycle,” the bank told employees in the memo, which was first reported by Reuters news agency.

JPMorgan will also report to employees each quarter on the contributions made by its PAC.

Citi also told staff on Friday its Citi PAC will begin to give again to campaigns following a review.

“From our evaluation, it was clear that we needed to strengthen our principles for determining which candidates Citi PAC will consider for support, and we did so by adding two new criteria — one based on character and integrity, and a second focused on a commitment to bipartisanship and democratic institutions,” the bank said in an internal memo.

Several large US companies, including Cigna, Intel and T-Mobile, in February contributed to groups which help fund campaigns for Republican Senate and House of Representatives candidates, including the lawmakers who voted against certification.

Under US election law, corporate PACs can donate up to $15,000 a calendar year to national party committees and up to $5,000 to other PACs or specific candidates for the primary and general elections.