SEOUL, South Korea — Kim Jong Il, North Korea’s mercurial and enigmatic leader whose iron rule and nuclear ambitions dominated world security fears for more than a decade, has died. He was 69.

Kim’s death 17 years after he inherited power from his father was announced today by the state television from the North Korean capital, Pyongyang. The country’s “Dear Leader” — reputed to have had a taste for cigars, cognac and gourmet cuisine — was believed to have had diabetes and heart disease.

North Korea has been grooming Kim’s third son to take over power from his father in the impoverished nation that celebrates the ruling family with an intense cult of personality.

South Korea put its military on “high alert,” and President Lee Myung-bak convened a national security council meeting after the news of Kim’s death. The two Koreas remain technically in a state of war more than 50 years after the peninsula’s Cold War-era armed conflict ended in a cease-fire.

In a “special broadcast” today, North Korea’s state media said Kim died of a heart ailment on a train because of a “great mental and physical strain” Saturday during a “high-intensity field inspection.”

Kim is believed to have suffered a stroke in 2008, but he had appeared relatively vigorous in photos and video from recent trips to China and Russia and in numerous trips around the country carefully documented by state media.

Kim Jong Il inherited power after his father, revered North Korean founder Kim Il Sung, died in 1994. He had been groomed for 20 years to lead the communist nation founded by his guerrilla fighter-turned-politician father and built according to the principle of “juche,” or self-reliance.

In September 2010, Kim Jong Il unveiled his third son, the twenty-something Kim Jong Un, as his successor, putting him in high-ranking posts.

Even with a successor, there had been some fear among North Korean observers of a behind-the-scenes power struggle or nuclear instability upon the elder Kim’s death.

Few firm facts are available when it comes to North Korea, one of the most isolated countries in the world, and not much is clear.

North Korean legend has it that Kim was born on Mount Paekdu, one of Korea’s most cherished sites, in 1942, a birth heralded in the heavens by a pair of rainbows and a brilliant new star. Soviet records, however, indicate he was born in Siberia, in 1941.

Kim Il Sung, who for years fought for independence from Korea’s colonial ruler, Japan, from a base in Russia, emerged as a communist leader after returning to Korea in 1945 after Japan’s defeat in World War II.

With the peninsula divided between the Soviet-administered north and the U.S.-administered south, Kim rose to power as North Korea’s first leader in 1948. Syngman Rhee became South Korea’s first president.

The North invaded the South in 1950, sparking a war that would last three years, kill millions of civilians and leave the peninsula divided by a demilitarized zone that remains one of the world’s most fortified.

In the North, Kim Il Sung meshed Stalinist ideology with a cult of personality that encompassed him and his son. Their portraits hang in every building in North Korea and on the lapels of every dutiful North Korean.

Kim Jong Il, a graduate of Pyongyang’s Kim Il Sung University, was 33 when his father anointed him his successor.

Even before he took over as leader, there were signs the younger Kim would maintain — and perhaps exceed — his father’s hard-line stance.

South Korea has accused Kim of masterminding a 1983 bombing that killed 17 South Korean officials visiting Burma, now known as Myanmar. In 1987, the bombing of a Korean Air Flight killed all 115 people on board; a North Korean agent who confessed to planting the device said Kim ordered it himself.

Kim Jong Il took over after his father died in 1994, eventually taking the posts of chairman of the National Defense Commission, commander of the Korean People’s Army and head of the ruling Workers’ Party while his father remained as North Korea’s “eternal president.”

He faithfully carried out his father’s policy of “military first,” devoting much of the country’s scarce resources to its troops — even as his people suffered from famine — and built the world’s fifth-largest military.

Kim also sought to build up the country’s nuclear arms arsenal, which culminated in North Korea’s first nuclear test explosion, an underground blast conducted in October 2006. Another test came in 2009.

Alarmed, regional leaders negotiated a disarmament-for-aid pact the North signed in 2007.

But the process continues to be stalled, even as diplomats work to restart negotiations.

North Korea, long hampered by sanctions and unable to feed its own people, is desperate for aid. Flooding in the 1990s that destroyed the largely mountainous country’s arable land left millions hungry.

Following the famine, the number of North Koreans fleeing the country through China rose dramatically, with many telling tales of hunger, political persecution and rights abuses that officials in Pyongyang emphatically denied.

Kim often blamed the U.S. for his country’s troubles and his regime routinely derides Washington-allied South Korea as a “puppet” of the Western superpower.

President George W. Bush, taking office in 2002, denounced North Korea as a member of an “axis of evil” that also included Iran and Iraq. He later described Kim as a “tyrant” who starved his people so he could build nuclear weapons.

“Look, Kim Jong Il is a dangerous person. He’s a man who starves his people. He’s got huge concentration camps. And … there is concern about his capacity to deliver a nuclear weapon,” Bush said in 2005.

Kim was an enigmatic leader. But defectors from North Korea describe him as an eloquent and tireless orator, primarily to the military units that form the base of his support.

The world’s best glimpse of the man was in 2000, when the liberal South Korean government’s conciliatory “sunshine” policy toward the North culminated in the first-ever summit between the two Koreas and followed with unprecedented inter-Korean cooperation.

A second summit was held in 2007 with South Korea’s Roh Moo-hyun.

But the thaw in relations drew to a halt in early 2008 when Lee, the conservative president, took office in Seoul pledging to come down hard on communist North Korea.

Disputing accounts that Kim was “peculiar,” former U.S. Secretary of State Madeleine Albright characterized Kim as intelligent and well-informed, saying the two had wide-ranging discussions during her visits to Pyongyang when Bill Clinton was U.S. president.

“I found him very much on top of his brief,” she said.