Nasrid governors not only enjoyed administrative power over their regions, but were also the commander of the regional army. Málaga's troops under Abu Said's command were instrumental in Muhammad II's war against the Marinid Sultanate and in returning various outposts of the Marinids on the Iberian Peninsula to Granadan rule.[10] He conducted vital military campaigns, principally in the area near the Straits of Gibraltar, including Algeciras, Gibraltar, and Tarifa.[7] In 1295–1296, he led an unsuccessful campaign to suppress a rebellion in Ronda. The rebellion finally ended when Abu Abdallah ibn al-Hakim, the katib of Muhammad II and a brother of the city's rebellious leader, was sent to negotiate.[15]