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: NHL Clears Evander Kane In Gambling Probe; Faces New Allegations Of Spousal Abuse

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

READ MORE: UPDATE: Cal Fire Crews Reach 80% Containment on Fremont Fire Near Napa-Sonoma County Line

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: Millbrae Resident Sleeping In Bed Robbed In Home Invasion

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