The charisma and vitality of David Bowie were perfectly captured in the last known photo of the music legend.

The picture was posted on Bowie’s official Instagram page on Friday, Jan. 8 — just two days before he died following an 18-month battle with cancer. It was taken by his longtime photographer, Jimmy King, as part of a promotional shoot.

Celebrating his 69th birthday, the “Let’s Dance” singer was wearing a classic trilby hat, a dark fitted suit and a huge cheerful grin.

The shot was accompanied by a caption that read in part: “Why is this man so happy? Is it because it’s his 69th birthday or that he has released his 28th studio album today and it’s a corker?

“Who knows, but we’re sure you’ll want to join us in congratulating him on both.”

Bowie’s final album, “Blackstar,” was released on Friday and was set to be honored at a concert at Carnegie Hall on March 31 featuring the Roots, Cyndi Lauper and the Mountain Goats. The album features the haunting song “Lazarus,” which opens with the lyrics: “Look up here, I’m in Heaven!”

Realizing that the end was near even though millions of fans were unaware, Iman posted a number of photos of her husband on Instagam in the days leading up to his death, ranging from his flamboyant Ziggy Stardust days to a dashing shot on stage with Tina Turner in the ’80s.

Iman and Bowie had been married since 1992. He is also survived by two children, Duncan Jones and Alexandria “Lexi” Zahra Jones, from a previous relationship.

Bowie achieved massive global success for over four decades with hit songs and albums such as “Starman,” “The Rise and Fall of Ziggy Stardust and the Spiders from Mars,” “Fame,” “Young Americans,” “China Girl,” “Modern Love,” “Rebel, Rebel,” “All the Young Dudes,” “Panic in Detroit,” “Fashion” and “Life on Mars.”

A photo posted by David Bowie (@davidbowie) on Jan 7, 2016 at 10:20pm PST

11 of David Bowie's Most Iconic Film and TV Roles (Videos)

"The Man Who Fell to Earth"
Bowie's first leading role was in 1976's "The Man Who Fell to Earth" as an alien who comes to Earth to bring water back to his home planet. Bowie later admitted he was abusing cocaine while filming the movie.

"The Hunger"
Starring alongside Catherine Deneuve and Susan Sarandon, Bowie played a vampire in the 1983 cult classic "The Hunger."

"Merry Christmas Mr. Lawrence"
An adaptation of the Laurens van der Post novel "The Seed and the Sower," 1983's "Merry Christmas Mr. Lawrence" starred Bowie as a POW held in a Japanese internment camp during WWII.

"Labyrinth"
Bowie's most iconic on-screen role was as the big-haired Goblin King Jareth in Jim Henson's "Labyrinth" in 1986. In addition to starring in the film alongside Jennifer Connelly, Bowie also composed all of the music.

"The Last Temptation of Christ"
Replacing Sting, who passed on the role, Bowie played religious figure Pontius Pilate in Martin Scorsese's "The Last Temptation of Christ" in 1988 alongside Willem Dafoe as Jesus Christ.

"Twin Peaks: Fire Walk With Me"
Though he never appeared in the original ABC series, Bowie appeared in David Lynch's "Twin Peaks" prequel movie "Fire Walk With Me" in 1992.

"Basquiat"
In one of his smaller film appearances, the "Life on Mars" singer played artist Andy Warhol in Julian Schnabel's biopic of artist Jean-Michel Basquiat in 1996.

"The Hunger" (TV Series)
Bowie narrated the second season of the Showtime horror anthology "The Hunger" in 2000, providing ominous introductions to standalone stories about cannibalism, vampires, sex, and poison each week.

"Zoolander"
One of the most memorable moments from 2001's "Zoolander" was a scene in which Bowie judged a walk-off between Ben Stiller's Derek Zoolander and Owen Wilson's character Hansel.

"The Prestige"
Playing Andy Warhol in "Basquiat" wasn't the last time Bowie portrayed a real-life figure on screen. In 2005 he appeared in Christopher Nolan's "The Prestige" as physicist Nikola Tesla.

"Extras"
In 2007, Bowie made a guest appearance on Ricky Gervais' comedy series "Extras" as himself, sitting down at a piano and singing a biting tribute to the comedian

1 of 11

From “Labyrinth” to “The Prestige,” Bowie’s onscreen roles added another dimension to a legendary career that ended two years ago

"The Man Who Fell to Earth"
Bowie's first leading role was in 1976's "The Man Who Fell to Earth" as an alien who comes to Earth to bring water back to his home planet. Bowie later admitted he was abusing cocaine while filming the movie.