What was muammar gaddafi's official title?

After succeeding in over throwing Kind Idris in 1962 Muammar Kadaffi declared himself "president" of Libya.