Who played rentan in film trainspotting?

Mark Renton is played by the actor Ewan McGregor in Trainspotting