When did he first gain power in Libya