Giving evidence during the case, Mosley confessed to having had a penchant for sado-masochism from an early age, but dismissed any suggestion of a Nazi fetish or that there were any Nazi connotations. He said he could think of few things more unerotic given his family history.
why the sentence use "giving" at the beginning but use "given" for the final information?