Jake Gyllenhaal struggled to get into the right mindset for his latest film 'Stronger' in which he plays a victim of a terror attack.

The 36-year-old actor is attracting Oscar buzz for his latest role as real-life American author Jeff Bauman, who was severely injured in the Boston Marathon bombing in 2013, losing both his legs in the atrocity.

The movie - directed by David Gordon Green - was based on Bauman's own memoir which documents how he struggled to adjust to life after the bombing and Gyllenhaal admits he doubted whether he could have gone through what Bauman did.

Speaking to the Metro newspaper, Gyllenhaal said: ''I am playing a guy who survived and thrived, and some part of acting is wish fulfilment, in that you believe you are like the characters you are playing. But I realised I didn't think I'd have been able to do what Jeff did. And so there was always this extraordinary doubt and fraudulence in my mind as I was exploring the role. Then, about halfway through shooting, I realised I was being very tough on myself and doubting myself. It was exactly how Jeff felt. He doubted himself and his own masculinity.''

Gyllenhaal spent a lot of time with Bauman to get to know him and understand what he went through and he soon realised what damaging effects his injuries had on him.

He said: ''When we first met, Jeff wasn't very forthright about his feelings. He was drinking and partying and not really coming to terms with what had happened. He talks a lot about it now but it took him a long time. Jeff is a complicated human being but he is always laughing. That's the biggest thing I took away from this.''

The Boston Marathon bombing killed three people and left hundreds injured and Bauman was among 16 people to lose limbs.

The bombing only happened four years ago and Gyllenhaal understands why people may think it's too soon to tell that story on the big screen.

He said: ''We have been very mindful with this film. And if people haven't seen it, and don't know what the movie is about, they might think it's too soon [to do a film like this]. But I do understand the sensitivities around it.''