<P> McGregor attended the independent Morrison's Academy in Crieff . After leaving school at the age of 16, he worked as a stagehand at Perth Theatre and studied a foundation course in drama at Kirkcaldy College of Technology, before moving to London to study drama at the Guildhall School of Music and Drama when he was 18 years old . </P> <P> Six months prior to his graduation from Guildhall, McGregor won a leading role in Dennis Potter's six - part Channel 4 series Lipstick on Your Collar (1993). Not long afterwards, he starred in the BBC adaptation of Scarlet and Black (also 1993) with a young Rachel Weisz, and made his film debut in Bill Forsyth's Being Human (1994). For his role in the thriller Shallow Grave (also 1994), he won an Empire Award . The film was his first collaboration with director Danny Boyle . His international breakthrough followed with the role of heroin addict Mark Renton in Boyle's Trainspotting (1996), an adaptation of Irvine Welsh's novel of the same name . </P> <P> McGregor played the male romantic lead role in the British film Little Voice (1998). He was cast as the young Obi - Wan Kenobi in Star Wars: Episode I--The Phantom Menace (1999); the character was originally played by Sir Alec Guinness in the first Star Wars trilogy . While the prequels received criticism from Star Wars fans, McGregor's performance was well received . He reprised the role of Obi - Wan Kenobi for the subsequent prequels Star Wars: Episode II--Attack of the Clones (2002) and Star Wars: Episode III--Revenge of the Sith (2005). His uncle, Denis Lawson, had played Wedge Antilles in the original trilogy . </P> <P> McGregor starred in Moulin Rouge! (2001) as the young poet Christian, who falls in love with the terminally - ill courtesan Satine (Nicole Kidman). He starred alongside Renée Zellweger in Down With Love (2003). He also portrayed the younger Edward Bloom in the critically acclaimed film Big Fish (2003) alongside Albert Finney, Jessica Lange, Alison Lohman and Billy Crudup . In the same period, he also received critical acclaim for his portrayal of an amoral drifter mixed up with murder in the drama Young Adam (also 2003), which co-starred Tilda Swinton . </P>

Who played obi wan kenobi in revenge of the sith
find me the text answering this question