Taiwan's identity, including how it relates to China, which claims the island as its own territory and has in recent years threatened to take control of it with force, is a major issue for Taiwanese voters. A general election is set for January.

Taiwan celebrates Oct. 10 as its national day, marking an uprising in 1911 that ended China's last imperial dynasty and ushered in the Republic of China.

The republican government fled to Taiwan in 1949 after losing a civil war with Mao Zedong's Communists, who set up the People's Republic of China. The Republic of China remains Taiwan's formal name.

In an angry post on Facebook, Ma, who was president from 2008-2016 and is a senior member of Taiwan's main opposition party the Kuomintang (KMT), said the government was laying a path to Taiwan's independence by calling the celebration in its official English translation "Taiwan National Day", which it has done since 2021.

"I cannot sit idly by while the Democratic Progressive Party (DPP) government jeopardises Taiwan's security and harms the Republic of China," he wrote. "Use your votes in the presidential elections next January to remove this government that violates the constitution of the Republic of China and disregards the safety of the Taiwanese people."

The KMT's presidential candidate, Hou Yu-ih, offered his support for Ma, saying: "I believe that what Taiwan and the people of Taiwan need is peace, not war."

The Kuomintang, which traditionally favours close ties with China, is trailing in opinion polls for the elections, with the DPP's William Lai the favourite to win.

The DPP champions an identity for Taiwan that is separate from China.

Taiwan Premier Chen Chien-jen, a DPP member himself, dismissed Ma's criticism, saying Ma had attended festivities previously when the English translation was Taiwan National Day.

"Let us come together to defend the sovereignty, freedom and democracy of our Republic of China, Taiwan," Chen told reporters, using the formulation the government favours for Taiwan's formal name.

Taiwan's president, Tsai Ing-wen, will give a major speech on national day, and there will also be a military parade in front of the presidential office.

Both Tsai and Lai have repeatedly offered talks with Beijing but have been rebuffed, as China believes both of them to be separatists.

(Reporting by Ben Blanchard. Editing by Gerry Doyle)