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: VIDEO: Juvenile Arrested In Brazen Carjacking From Richmond Auto Dealership

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: Bay Area Counties Pausing Johnson & Johnson COVID-19 Vaccine Shots; State Continuing With Plans To Reopen On June 15

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: San Leandro Police Arrest 2 In Bank Parking Lot Thefts

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