Updated

BEIJING (AP) — North Korean leader Kim Jong Il reaffirmed the importance of nuclear disarmament talks during his visit to China this week, Chinese state media reported Friday, in Beijing's first official confirmation of the secretive but widely reported trip.

The visit could potentially kick-start the process of North Korea dismantling its nuclear programs, although the reports did not say whether Kim had made a firm commitment to restarting talks or whether he had attached any conditions to such a move.

"Kim said that the DPRK will work with China to create favorable conditions for restarting the six-party talks," the Xinhua News Agency said.

The visit began Monday and has been shrouded in secrecy in keeping with Kim's reclusive ways. In footage run by Chinese state broadcaster CCTV, Kim, 68, who reportedly suffered a stroke in 2008, appeared thin but vigorous in meetings with Chinese President Hu Jintao, Premier Wen Jiabao, and other officials.

Kim, wearing a pea green leisure suit, was shown shaking hands with Chinese leaders at the Great Hall of the People in central Beijing, in footage apparently shot on Wednesday night. He exchanged comments with Hu in a conference room, then stood and read from a piece of paper at a banquet table and exchanged toasts, wine glass in hand.

Other footage showed him visiting a biotechnology firm accompanied by Hu, during an excursion to Beijing's Zhongguancun high-tech zone believed to have happened Thursday morning shortly before his armored train departed for home. The eccentric Kim is known to shun air travel and travels entirely by road and rail.

The Korean Central News agency said in a dispatch from Pyongyang that Kim made the "unofficial" visit starting Monday and ending Friday. Kim was seen in China by journalists several times, although Chinese spokesmen repeatedly refused to confirm his presence in the country.

KCNA did not mention a one-on-one meeting with Hu or even a visit to Beijing, where Kim's motorcade was seen Wednesday and Thursday. It's description of the visit as unofficial appeared to be an explanation for the lack of formal protocol such as an official welcoming ceremony or the flying of North Korean flags in Beijing's Tiananmen Square.

While Kim has grown ever more dependent on Chinese aid and diplomatic support, Beijing appears determined to honor his wishes and do whatever it takes to prevent his impoverished regime's implosion and the potential political chaos that could bring severe unrest to its border.

The KCNA report said Kim toured the northeastern cities of Dalian and Tianjin and met with vice premier Li Keqiang and other officials.

"The leader of the DPRK received a sincere and warm welcome from Chinese people wherever he went in China," the KCNA report said. "Kim Jong Il expressed satisfaction over the result of his visit."

This week's visit was Kim's fifth to China since succeeding his father as ruler in 1994, with the last in 2006.

South Korea's Yonhap news agency reported that Kim told Hu he is ready to return to six-nation denuclearization talks, but it gave no details. Kim has said the same thing in the past, but usually with attached conditions, such as a long-sought direct dialogue with the United States. Yonhap did not say what, if any, conditions he set this time.

Scholars have said they expected Kim to express some new willingness to rejoin the long-stalled China-sponsored negotiations, under which North Korea agreed to dismantle its nuclear programs in return for food and fuel aid.

North Korea quit the talks a year ago and then conducted a nuclear test that drew tightened U.N. sanctions. The last round of the talks — involving China, Russia, the two Koreas, Japan and the U.S. — was held in December 2008.

Although China is unlikely to link them explicitly, a return to the talks is likely to go hand-in-hand with new aid, including the implementation of economic agreements reached during a visit by Wen to North Korea last year.

China, which sent troops to back North Korea during the 1950-53 Korean War, already provides most of the aid needed to feed North Korea's malnourished population of 23 million and prop up an economy devastated by natural disasters and chaotic management — most recently a currency revaluation that backfired disastrously.

Beijing's support for Kim is driven overwhelmingly by its own security concerns, which override any unhappiness it might have over North Korea's nuclear program or rejection of economic reforms, Chinese scholars say.

"No matter how different its opinions are from those of the North Koreans, and how much unhappiness it has toward them, the Chinese government will not leave North Korea to implode, and it will not let the strategic balance of the Korean peninsula be broken," said Cai Jian, deputy director of the Center for Korean Studies in Shanghai's Fudan University.

That, however, comes at the risk of upsetting South Korea, where suspicion is rising that a North Korean torpedo destroyed the naval ship Cheonan in March, killing 46 sailors. North Korea has denied involvement.

The timing of Kim's China visit has aroused some complaints among South Korean politicians, who say it shows insensitivity toward the Cheonan victims. South Korean officials have asked that China play a "responsible role" in the aftermath of the sinking and keep them informed of Kim's activities in China.

___

Associated Press Writers Kwang-tae Kim and Jean Lee in Seoul and researcher Zhao Liang in Beijing contributed to this report.