South Korean lawmakers impeached the acting president on Friday as the country struggles to shake off political turmoil sparked by his predecessor's declaration of marital law.