Al-Maridani first rose to prominence as the cupbearer of Sultan Muhammad, but the date of this appointment is unknown. The sultan must have favored al-Maridani, as the sultan eventually married his daughter to al-Maridani, making the sultan al-Maridani's father-in-law.