Facebook Inc. Stated that it reached an agreement with the Australian government to restore news pages to the social-media company’s platform, following a five-day pause locally due to a disagreement over payment for content.

Facebook took down news from its platform in Australia last week, as legislation that would effectively need Facebook and Alphabet Inc.’s Google to pay traditional media companies for content worked its way through the country’s news partnerships, said in a statement. “It’s always been our intention to support journalism in Australia and around the world.”

“Going forward, the government has clarified we will retain the ability to decide if news appears on Facebook so that we won’t automatically be subject to a forced negotiation,” Campbell Brown, Facebook’s vice president for international news partnerships, said in a statement. “It’s always been our purpose to support journalism in Australia and around the world.”

The Australian government stated on Tuesday that it would change the legislation to shed light on how tech companies would be regulated.