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: California Reopens: Ferry Service Resumes To Oracle Park In Time For Giants / A's Bay Bridge Series

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

READ MORE: Salinas DA Files Criminal, Civil Complaints Against Vehicle Towing Schemes

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: President Biden Announces Bipartisan Deal On $1 Trillion Infrastructure Plan

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