MENLO PARK (AP) — Australia’s government announced on Tuesday that Facebook has agreed to lift its ban on Australians sharing news after a deal was struck on legislation that would make digital giants pay for journalism.

Treasurer Josh Frydenberg and Facebook confirmed in statements that they had reached agreement on amendments to proposed legislation that would make the social network and Google pay for news that they feature.

READ MORE: Bay Area Health Workers Cheer Newly-Approved 1-Shot Johnson & Johnson Vaccine

Facebook blocked Australian users from accessing and sharing news after the House of Representatives passed the draft law late Wednesday last week.

READ MORE: Antioch Gas Station Shooting Leaves Man Suffering Life-Threatening Injuries

The Senate will debate amended legislation on Tuesday.

“The government has been advised by Facebook that it intends to restore Australian news pages in the coming days,” Frydenberg and Communications Minister Paul Fletcher said in a statement.

MORE NEWS: Hundreds Rally in San Mateo to Denounce Violence Against Asian Americans

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