MELBOURNE, Australia — Hundreds of thousands of people gathered across Australia and New Zealand for dawn services and street marches Thursday to commemorate their war dead on Anzac Day.

New Zealand Prime Minister Christopher Luxon attended a dawn service in his country's largest city, Auckland, while Australian Prime Minister Anthony Albanese saw the sun rise at a World War II memorial in the wilds of Australia's nearest neighbor, Papua New Guinea.

April 25 is the date in 1915 when the Australia and New Zealand Army Corps landed on the beaches of Gallipoli, in northwest Turkey, in an ill-fated campaign that was the soldiers' first combat of World War I.

Albanese trekked to the memorial in the town of Isurava over two days with Papua New Guinea Prime Minister James Marape. Isurava was the site of a major battle where United States and Australian troops fought the Japanese in August 1942.

''Those who enlisted for the Second World War grew up in an Australia scarred by the memory of the first,'' Nine Network reported Albanese telling the gathering.

''Anzac Day has never asked us to exalt in the glories of war. Anzac Day asks us to stand against the erosion of time and to hold on to their names,'' Albanese added.

Marape called for ''peace to prevail in all circumstances."

Albanese has used his trip to underscore enduring security ties between the two countries that deepened in December, when he and Marape signed a wide-ranging security agreement.

The signing was delayed by six months after a security pact between Papua New Guinea and the United States sparked riots in the South Pacific nation over concerns that the country's sovereignty was being undermined.

Marape said in December that his government's security agreements with the U.S. and Australia did not mean he was siding with those allies in their strategic competition with China.

Chinese Foreign Minister Wang Yi visited Papua New Guinea over the weekend to discuss with Marape building closer relations.

In New Zealand, Luxon told the crowd that the country had its military personnel to thank for their freedom and democracy.

''It's a sacred day for all New Zealanders. It's a chance for us all to stop, to reflect, to remember, to commemorate great Kiwi service men and women in the past and present who have gone to stand up for our values,'' the Stuff news website reported Luxon saying.

A late morning commemorative service planned for the New Zealand capital of Wellington was canceled due to strong winds.

The government said the decision to cancel the event planned at Pukeahu National War Memorial Park was made for the health and safety of veterans, visitors and guests, The New Zealand Herald reported. A smaller event was held indoors.

Australian police assured the public Thursday that there was no extremist threat to Anzac Day services and marches in Sydney, after seven teenagers accused of following a violent extremist ideology were arrested in police raids across southwest Sydney on Wednesday.

Extremists have plotted mass-casualty attacks on past Anzac Days, but police have intervened before plans were executed.

Sydney residents turned out in large numbers for Thursday's events.

Later, Australian Deputy Prime Minister Richard Marles and New Zealand counterpart Winston Peters represented their governments at a dawn service at Gallipoli's Anzac Cove in Turkey, where hundreds had camped overnight.

''From the distant Pacific Ocean we arrive with humility. Upon your land, our footprints are joined forever. The fallen warriors of our people and your people rest together within your ancestral soil,'' Peters told the gathering.

"We meet here to commemorate the ground around us as the final resting place of far too many of our young men: Turkish, British, Australian and New Zealand men," Peters said.

Roger Kerr, from New Zealand, told the state-run news agency Anadolu that there was a bond with Turkey. ''Even though they fought each other, both sides were respectful. I think this continues 100 years later,'' he said.

——-

Associated Press writer Andrew Wilks in Istanbul contributed to this report.