Frank Swettenham became first Resident-General of the Federation , with Kuala Lumpur as the capital .
The Federation broke up , Kuala Lumpur in ruins , and Frank Swettenham doomed to live out his days as a clerk .