The Hollywood superstar, 52, was filming scenes for his latest movie Allied in Las Palmas, the capital of Gran Canaria, an island in Spain's Canary Islands.

When spectators gathered to watch Brad film scenes for the Second World War espionage epic, a young girl appeared to be crushed up against a crash barrier separating the fans from the set.

Upon seeing the girl in distress, the actor rushed over and with the help of a security guard lifted her over the barrier to safety. The girl was then returned safely to her mother.

"It was a fantastic gesture!" one onlooker tells Spanish publication, whose editors published pictures showing Brad coming to the youngster's aid.

During a break from filming the star, who has six children with wife Angelina Jolie, 40, greeted and shook hands with fans who'd gathered to see him in the flesh.

For the movie, streets in Las Palmas have been transformed to resemble the Moroccan city of Casablanca in the 1940s. Shooting will also take place on Gran Canaria's neighbouring island of Fuerteventura.

Allied, which is directed by Forrest Gump filmmaker Robert Zemeckis sees Brad's character Max, a French-Canadian secret agent, investigate his lover Marianne, played by Marion Cotillard, who is under suspicion of being a spy for Nazi Germany.

The new movie's setting in the North African port city during the Second World War is similar to that of the iconic film Casablanca. The 1942 movie, which starred Humphrey Bogart and Ingrid Bergman, won three Academy Awards and often appears near the top of lists ranking the greatest films of all time.