Taylor Swift admits that she found it challenging to write a song for The Hunger Games.

The country crooner and band The Civil Wars co-wrote Golden Globe-nominated track Safe & Sound for The Hunger Games.

Taylor, who recently broke up with One Direction singer Harry Styles, is known for penning music about her failed relationships.

She and The Civil Wars were asked to write from The Hunger Games protagonist Katniss’ perspective.

"[Lionsgate] said, 'We want you to really understand [Katniss'] and know completely where she's coming from,'" Taylor told Ryan Seacrest on the Golden Globes red carpet.

"And we were given such an amazing opportunity to do that by Suzanne Collins, who wrote the books, and Jennifer Lawrence, who portrayed Katniss."

Taylor also drew from The Civil Wars for “amazing” inspiration.

"We had this idea that we wanted the song to be about the empathy that goes into this film," Taylor said.

"And the undertones of like, sympathy and human compassion that go along with such an incredible film with all this action and fighting in it. We wanted to highlight the fact that there's a lot of heart beneath all that."

Taylor and The Civil Wars lost their Golden Globe trophy Sunday night to Adele in the Best Original Song category.