Not to be confused with the province Cotabato (North Cotabato), Cotabato City is an independent 2nd class city within the boundaries of Maguindanao. It is considered as the regional center of the Autonomous Region in Muslim City (ARMM) with 37 barangays and facing the Illana Bay, part of the Moro Gulf.