It was a royal flush at the Scottish Baftas last night as The Last King of Scotland won every award for which it was nominated.

The powerful film based on the relationship between a Scottish doctor and the Ugandan dictator Idi Amin picked up the prizes for best film and best screenplay at the awards ceremony in Glasgow.

And James McAvoy was named best actor for his performance as Nicholas Garrigan, the doctor in the movie.

McAvoy, who first came to prominence in the BBC drama State of Play four years ago, was up against Jamie Bell and Aonghas Padraig Caimbeul for the Best Actor award.

The Drumchapel-born actor brought his grand-parents and mother to the ceremony in the City Halls.

He said: "I've played a lot of Englishmen and I was very surprised, but also very grateful, that the Scottish Baftas have forgiven me for this. To play this Scot was an absolute pleasure."

There was no competition at all for the Best Actress award as Sophia Myles was the sole nominee for her performance in the Edinburgh-based film Hallam Foe, which also starred Jamie Bell from Billy Elliot.

Only two actresses were entered for the category and the jury decided only one deserved a nomination.

The situation was described as an "anomaly in the system". Myles did not even turn up to collect the award as she is filming in the US, and so a friend read aloud a text message from the actress which said: "I'm horrified I'm unable to be there to thank everyone in person."

It was not such a good night for Seachd: The Inaccessible Pinnacle, a Gaelic feature film which received nominations in the best film, screenplay and actor categories, yet failed to win anything.

The film's producer Christopher Young resigned in protest from Bafta last month after the academy refused to put the film forward for the foreign language category of the Oscars.

He said the decision was "explicitly anti-Gaelic".

More than 800 people attended the ceremony sponsored by Lloyds TSB at the refurbished City Halls in Glasgow's Merchant City, including many of the best-known faces in Scottish entertainment.

Among the guests who paraded down the red carpet were Alex Kapranos, lead singer with Franz Ferdinand, Robbie Coltrane, Armando Iannucci, Bill Paterson, Kirsty Wark, Muriel Gray, Fred MacAulay and the casts of Still Game, River City and Taggart, as well as Richard Holloway, the former bishop of Edinburgh and new chairman of Creative Scotland.

The ceremony, hosted by GMTV presenter Lorraine Kelly and Stuart Cosgrove, head of nations and regions for Channel 4, honours the very best in both Scottish film and television.

The Herald was the media partner for the event.

In the television awards Rebus, the screen adaptation of the Ian Rankin novels, was named Best Drama, while the Channel 4 show Blowout beat Still Game for the Best Comedy prize.

Nevertheless, Still Game won the audience award for the most popular television programme and Jane McCarry received the loudest cheer of the evening when she was named Best Television Actress for her portrayal of Isa in the BBC comedy.

Afterwards she said: "I think the show has remained so popular for so long because it's based on reality; it's truthful and I think many people recognise the characters from their own lives."

The Best Television Actor award went to Sean Biggerstaff.

The 24-year-old, who found fame in the Harry Potter movies, won the award for his portrayal of Jeremy Wolfenden in Consenting Adults, the drama about the legalisation of homosexuality.

Wolfenden, an MI6 spy who died aged 31 in 1965, was renowned for his intelligence. Biggerstaff said: "I thought it was an unusual choice when they picked an uneducated Glasgow skinhead to play the most intelligent boy in England, but thanks."

Julian Mitchell won the Best Television Writing prize for the same programme.

The Best Documentary award went to Black Watch - A Soldier's Story, while Mountain starring Griff Rhys Jones won Best Factual Entertainment show.

A Newsnight Scotland special on the chaotic Scottish parliamentary elections earlier this year, Did Your Vote Count?, won the Best News and Current Affairs award and veteran broadcaster Mary Marquis was honoured with a special prize for her outstanding contribution to Scottish broadcasting.


The list of winners

  • FILM AWARDS
    Best Feature Film The Last King of Scotland
    Best Screenplay Peter Morgan and Jeremy Brock for The Last King of Scotland
    Best Actor James McAvoy for The Last King of Scotland
    Best Actress Sophia Myles for Hallam Foe
    Best Short Film sponsored by Glasgow City Marketing Bureau Losing Myself: Annie
    Best Animation sponsored by Skillset Potapych - The Bear who loved Vodka
    Special Contribution to Scottish Film Eddie McConnell
    Bafta Scotland Award for Craft (In Memory of Robert McCann) Libbie Barr
    Outstanding International Contribution Craig Armstrong

  • TELEVISION AWARDS
    Best News and Current Affairs Did Your Vote Count? A Newsnight Scotland Special
    Best Documentary Black Watch - A Soldier's Story
    Best Factual Entertainment Mountain
    Best Drama Rebus
    Best Comedy or Entertainment Blowout
    Best Children's Nina and the Neurons
    Best Writing - Television Julian Mitchell for Consenting Adults
    Best Actor - Television Sean Biggerstaff for Consenting Adults
    Best Actress - Television Jane McCarry for Still Game
    The Lloyds TSB Scotland Audience Award for Most Popular Scottish Television Programme Still Game
    Special Contribution to Scottish Broadcasting Mary Marquis
    Best Interactive Media sponsored by Scottish Enterprise Championship Manager 2007