Xerox Holdings Corp. ended its hostile takeover bid for HP Inc. because of uncertainty stemming from the Covid-19 pandemic, marking a blow to the photocopier company’s efforts to stimulate future growth.

The Norwalk, Connecticut-based company will withdraw its tender offer to HP shareholders and stop an effort to win a slate of board directors. Xerox believes the underlying logic behind a combination remains sound and may revisit the idea in the future, said a person familiar with the issue who asked not to be identified discussing company deliberations.

“The current global health crisis and resulting macroeconomic and market turmoil caused by Covid-19 have created an environment that is not conducive to Xerox continuing to pursue an acquisition of HP Inc.,” Xerox said Tuesday in a statement. “While it is disappointing to take this step, we are prioritizing the health, safety and well-being of our employees, customers, partners and other stakeholders, and our broader response to the pandemic, over and above all other considerations.”

HP, the world’s second-largest computer maker, has repeatedly rebuffed Xerox’s cash-and-stock offers, most recently valued at an estimated $35 billion. In the most recent proposal, an HP holder would have received $18.40 in cash and 0.149 Xerox shares. The offer was set to expire April 21.

“We remain firmly committed to driving value for HP shareholders,” the Palo Alto, California-based company said in a statement. “We have a healthy cash position and balance sheet that enable us to navigate unanticipated challenges such as the global pandemic now before us, while preserving strategic optionality for the future.”

HP had earlier implored shareholders to reject the tender offer and Xerox board nominees, suggesting that a debt-enabled combination would be “disastrous” for the hardware giant in the current economic environment.

HP’s shares fell 1.5% in extended trading after closing at $17.36. Xerox’s stock was little-changed after ending Tuesday’s session at $18.94. The news of Xerox’s decision was reported earlier by the Wall Street Journal.

Xerox, which has reported falling revenue, had hitched its future to an acquisition. The company expected that combining the companies would yield $2 billion in cost savings and more than $1 billion in additional revenue growth. Both hardware companies invented technologies still in use by consumers and office workers, and have struggled in a world increasingly driven by software.

HP’s board characterized Xerox’s offers as undervaluing the company, and said it will return $16 billion to shareholders in an effort to show HP can stand on its own.

Xerox criticized HP for failing to enter into substantive talks that could have led to a merger.

“The refusal of HP’s Board to meaningfully engage over many months and its continued delay tactics have proven to be a great disservice to HP stockholders, who have shown tremendous support for the transaction,” Xerox said.