As described by the Portuguese, gold was still commonly mined in quarries across Pahang and sold in great quantity in Melaka.[43] However, this relationship with Portuguese was discontinued by Ahmad II, Abdul Kadir's only son by a royal wife, who was a boy when he died in 1590. According to the Bustan al Salatin, Ahmad II reigned only for a year and was then replaced by his eldest half-brother by a commoner wife, Abdul Ghafur, as he was too young to govern the country. Abdul Ghafur who took the title of Sultan Abdul Ghafur Muhiuddin Shah had married in 1584, Ratu Ungu, a sister of Ratu Hijau, the Queen of Pattani.