From Sanskrit महर्द्धिक (maharddhika, “prosperous”). Cognate of Javanese ꦩꦂꦢꦶꦏ (mardika), Indonesian merdeka, Tagalog maharlika.
merdika