Celebrities react to David Bowie's death

David Bowie in 1977.

EMI Records/Sukita

After David Bowie died on Sunday following an 18-month battle with cancer, celebrities from around the world took to social media to share their memories of the music legend.

The Rolling Stones commemorated their contemporary on Twitter this morning.

Madonna paired a classic Bowie image with a heartfelt caption on her Instagram account.

A Kanye West tweet called Bowie "one of my most important inspirations."

Fellow legend Paul McCartney posted a throwback image on his Instagram account commemorating the star.

Cher's tweet remembering Bowie was brief but heartfelt.

Sam Smith, who had been celebrating a Golden Globes win last night, took a more somber tone on Instagram this morning.

Thoughts and heart with David's family and loved ones 💔

A photo posted by Sam Smith (@samsmithworld) on

Music mogul Pharrell Williams celebrated Bowie's legacy on Twitter.

U2 offered a heartfelt memorial via this classic photo of Bowie and Bono.

Yoko Ono paid tribute to Bowie on Facebook and called him a father figure to her son, Sean Lennon.

DAVID BOWIEJohn and David respected each other. They were well matched in intellect and talent. As John and I had very...

Posted by Yoko Ono on Monday, January 11, 2016