The treaty of the British with the Amirs of Sindh had upset Ranjit Singh because of which he attacked Sindh.