Mackenzie Crook, star of BBC comedy The Office, is to take the lead role in a film being shot in Wales this summer.
Crook appears in the Pirates of the Caribbean sequel
Crook is already appearing in the forthcoming second Pirates of the Caribbean sequel alongside Johnny Depp.
Now Abraham's Point will see him go on an journey from London to west Wales in a struggle to overcome a family tragedy which has haunted him since his youth.
He will follow Hollywood stars Keira Knightley and Sienna Miller, who are currently filming in Wales.
The movie is one of four which have won backing from the Film Agency for Wales.
Cardiff, the Brecon Beacons, the Vale of Glamorgan and Pembrokeshire are all included as locations.
Crook was a long-standing star of the stand-up comedy circuit before he emerged Gareth, the Territorial Army-obsessed assistant manager, alongside Ricky Gervais in The Office.
Abraham's Point is being written and directed by Wyndham Price and produced by the first company to be spun out of the Royal Welsh College of Music and Drama in Cardiff.
Mr Price said they were "absolutely delighted" to be working with Crook on the film which will be unveiled at this year's Cannes Film Festival.
"Abraham's Point is a classic tale with an epic conclusion that will be shot on the beaches of Pembrokeshire.
"Although often funning, the film has the feel of a thriller and is an emotionally gripping story that results in liberation," he said.
The actor was one of the main figures in The Office
"The elements of thriller, western and comedy along with the incredible emotional instability of the main character is what drew Mackenzie Crook to the film which is made up of a fantastic cast of rogues and angels."
Abraham's Point is sharing £800,000 of funding from the agency which said it has a great mix of films ranging from low budget art house films to big budget mainstream movies on its books.
Among those also awarded is Super Furry Animals' Gruff Rhys, who is making a feature "rockumentary" intertwining the Welsh colonisation of Patagonia in Argentina with a solo tour of south America.
And Justin Kerrigan, of Human Traffic fame, has also been given financial backing for his coming of age drama I Know You Know which is due to be filmed in Cardiff this summer.
The road to Wales for filmmakers is well trodden with Hollywood and Bollywood producers choosing its scenery as a backdrop.
Keira Knightley, Sienna Miller and Matthew Rhys are three of the Hollywood stars who began filming The Edge of Love, a new Dylan Thomas film on location in New Quay in Ceredigion at the weekend.