Democratic gains since then allowed Togo to hold its first relatively free and fair legislative elections in October 2007 .