His main rival in the election was Joachim Gauck , a civil rights activist from East Germany and a former Federal Commissioner for the Stasi Archives . His main contender in the election was Joachim Gauck , a civil rights activist from East Germany and a former Federal Commissioner for the Stasi Archives .