South African lawmakers on Thursday selected Cyril Ramaphosa as the country's new president after scandal-tainted Jacob Zuma resigned under pressure from his own ANC ruling party.