From Old Galician-Portuguese danar, from Latin damnāre (“to damn; to discredit; to punish”), from damnum (“damage”).
Practice speaking and memorizing "danar" and many other words and sentences in Portuguese.