A triumphant North Korea staged a mass rally of soldiers and civilians glorify the country's young ruler, who took a big gamble this week in sending a satellite into orbit in defiance of international warnings.
Wednesday's rocket launch came just eight months after a similar attempt ended in an embarrassing public failure, and just under a year after Kim Jong Un inherited power following the death of his father.
The surprising success of the launch may have earned Kim global condemnation, but at home, the gamble paid off, at least in the short term, projecting the 20-something Kim to his people as powerful, capable and determined.
Pyongyang says the rocket put a crop and weather monitoring satellite into orbit. The rest of the world, however, sees it as a thinly-disguised test of banned long-range missile technology.
And the fresh round of UN sanctions it could bring would increase his country's international isolation and potentially strengthen the hand of the only entity that poses a threat to his rule: the military.
To his people, the launch's success, 14 years after North Korea's first attempt, shows more than a little of the gambling spirit in the third Kim to rule North Korea since it became a country in 1948.
"North Korean officials will long be touting Kim Jong Un as a gutsy leader" who commanded the rocket launch despite being new to the job and young, said Kim Byung-ro, a North Korea specialist at Seoul National University in South Korea.
The propaganda machinery churned into action early Friday, with state media detailing how Kim Jong Un issued the order to fire off the rocket just days after scientists fretted over technical issues, ignoring the chorus of warnings from Washington to Moscow against a move likely to invite more sanctions.
Top officials followed Kim's suit in defiantly shrugging off the international condemnation of the launch.
Workers' Party Secretary Kim Ki Nam told the crowd Friday that "hostile forces" had dubbed the launch a missile test. He rejected the claim, and rallied North Koreans to stand their ground against the "cunning" critics.
North Korea called the satellite a gift to Kim Jong Un's late father, Kim Jong Il, who is said to have set the lofty goal of getting a satellite into space and then tapped his son to see it into fruition.
The satellite, which North Korean scientists say is designed to send back data about crops and weather, was named Kwangmyongsong, or "Lode Star" - the nickname legendarily given to the elder Kim at birth.
Kim Jong Il died on Dec. 17, 2011, making the successful launch a fitting mourning tribute. State TV have been replaying video of the launch to "Song of Gen. Kim Jong Il."
But it is the son who will bask in the glory of the accomplishment, as well as face the international censure that may follow.
Even while he was being groomed to succeed his father, Kim Jong Un had been portrayed as championing science and technology as a way to lift North Korea out of decades of economic hardship.
"It makes me happy that our satellite is flying in space," Pyongyang citizen Jong Sun Hui said as Friday's ceremony came to a close and tens of thousands rushed into the streets, many linking arms as they went.
"The satellite launch demonstrated our strong power and the might of our science and technology once again," she told The Associated Press. "And it also clearly testifies that a thriving nation in our near future."
Aside from winning him support from the people, the success of the launch helps his image as he works to consolidate power over a government crammed with elderly, old-school lieutenants of his father and grandfather, foreign analysts said.
Experts say that what is unclear, however, is whether Kim will continue to smoothly solidify power, steering clear of friction with the powerful military while dealing with the strong possibility of more crushing sanctions against a country with what the United Nations calls a serious hunger problem.
"Certainly in the short run, this is an enormous boost to his prestige," according to Marcus Noland, a North Korea analyst at the Peterson Institute for International Economics in Washington.
Noland, however, also mentioned the "Machiavellian argument" that this could cause future problems for Kim by significantly boosting the power of the military - "the only real threat to his rule."
Successfully firing a rocket was so politically crucial for Kim at the onset of his rule that he allowed an April launch to go through even though it resulted in the collapse of a nascent food-aid-for-nuclear-freeze deal with the United States, said North Korea analyst Kim Yeon-su of Korea National Defense University in Seoul.
The launch success consolidates his image as inheritor of his father's legacy. But it could end up deepening North Korea's political and economic isolation, he said.
On Friday, the section at the rally reserved for foreign diplomats was noticeably sparse as UN officials and some European envoys stayed away from the celebration, as they did in April after the last launch.
Despite the success, experts say North Korea is years from even having a shot at developing reliable missiles that could bombard the American mainland and other distant targets.
North Korea will need larger and more dependable missiles, and more advanced nuclear weapons, to threaten US shores, though it already poses a shorter-range missile threat to its neighbors.
The next big question is how the outside world will punish Pyongyang - and try to steer North Korea from what could come next: a nuclear test. In 2009, a rocket launch was followed up just weeks later by an atomic explosion.
North Korea's nuclear ambitions should inspire the US , China, South Korea and Japan to put aside their issues and focus on dealing with Pyongyang, Scott Snyder, a Korea specialist for the Council on Foreign Relations, wrote recently.
If there is a common threat that should galvanize regional cooperation "it most certainly should be the prospect of a 30-year-old leader of a terrorized population with his finger on a nuclear trigger," Snyder said.