NEW YORK (AP) – Exxon Mobil swung back to a profit and topped expectations on profit and revenue during the second quarter as demand for fuel recovered from lows reached earlier in the pandemic.

Net income reached $4.69 billion, or $1.10 per share, after the company reported a loss last year during mass shutdowns that were endured to limit the spread of the virus.

READ MORE: US Border Agents Receiving Help On Custody Work, Returning To Field

Profits easily topped the $1.02 per share that Wall Street was looking for, according to a survey by Zacks Investment Research.

Revenue at the Irving company was $67.74 billion, roughly double last year’s revenue during the same period and also better than the expectations of $63.73 billion from industry analysts.

Exxon produced the equivalent of 3.6 million barrels of oil per day in the second quarter, down 2% from the second quarter of 2020 due to increased maintenance activity, the company said. But in the oil-rich Permian Basin, Exxon’s oil production rose to 400,000 barrels per day, up 34% from the same quarter last year.

And its chemical business delivered earnings of $2.3 billion, its best quarter in the company’s history.

READ MORE: US Ramps Up Plan To Expel Thousands Of Haitian Migrants Gathered In Texas

“Positive momentum continued during the second quarter across all of our businesses as the global economic recovery increased demand for our products,” said Chairman and CEO Darren Woods in a prepared statement.

Exxon is realizing significant benefits from an improved cost structure, Woods added.

A year ago, the oil and gas industry was in the grips of a massive downturn when the global pandemic halted travel and demand for fuel cratered, forcing major oil companies to slash budgets and staff.

Investors are also becoming increasingly alarmed about climate change and some are pressuring companies to stop drilling for new oil. Exxon’s shareholders recently shook up the board, voting to replace three of the company’s 12 board members with directors they said were better equipped to guide the oil giant through a transition to cleaner energy. It was one of the biggest fights a corporate boardroom has endured over its stance on climate change.

MORE NEWS: Cecile Richards: Supreme Court's Inaction On Texas Abortion Law Could Mean End Of Roe

(© Copyright 2021 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)