Original sentence: McAveety was re-elected to the Scottish Parliament on 3 May 2007 and until June 2010 served as Convener of the Public Petitions Committee and was the Scottish Labour Party's Shadow Minister for Sport, when he resigned after making comments about the physical appearance of a female member of the public, during a break in committee proceedings
Edited sentence: McAveety was re-elected to the Scottish Parliament on 3 May 2007 and until June 2010 served as Convener of the Public Petitions Committee and was the Scottish Labour Party's Shadow Minister for Sport, when he resigned after making inappropriate suggestive comments about the physical appearance of a female member of the public, during a break in committee proceedings