The singer shared a video on Instagram of her singing part of the 2017 track.

Miley Cyrusis reflecting on a song that holds a special significance for her.

“Today is the 4 year anniversary of Malibu,” Cyrus wrote alongside the post.

2018 Vanity Fair Oscar Party Hosted By Radhika Jones - Arrivals

Presley Ann/Patrick McMullan via Getty Images

“A song about a place and person that at the time I loved very much.

That love was reciprocated beyond what I could describe here with freedom & escapism.

I lost that home along with many others in 2018.

Miley Cyrus - Malibu (Official Video)

Miley Cyrus/YouTube

Here is a video of me writing it in my home studio.”

Cyrus and Hemsworth met on the set of Nicholas Sparks' romantic drama,The Last Songback in 2009.

They dated on and off again for years before he proposed in 2012.

The two ended their engagement and broke up a year later before reconciling in 2015.

Watch the video above.