At independence there was a Muslim majority in West Punjab with significant minorities of Hindus and Sikhs. Nearly all of these minorities left West Punjab for India, to be replaced by large numbers of Muslims fleeing in the opposite direction. The official language of West Punjab was Urdu but most of the population spoke Punjabi using the Shahmukhi script.