Original: A few weeks later, he was overthrown in a bloodless coup d'état by General Ayub Khan, who then declared himself president.
Simplified: A few weeks later, he was overthrown by General Ayub Khan, who then declared himself president.