Complex sentence: The village has about 4000 inhabitants, most of whom have been living here much before Bangalore became a major city.
Split into simpler sentences: The village has about 4000 inhabitants. Most of the local people have been living here much before Bangalore became a major city.