As kapitan of Kuala Lumpur, however, Yap prospered mightily in the tin business and acquired large tracts of property in the city. His charitable gifts (a hostel for the sick and the city’s first Chinese school) followed the standard pattern by which Chinese merchants turned wealth into social status.