Maḥmūdan can be accusative while khuluquhu is nominative.

Ism al-Mafʿūl: Formation, Weak Roots and Government