 The city is located in Panama District, although its metropolitan area also includes some populated areas on the opposite side of the Panama Canal.As in the rest of the country, the city is divided into "corregimientos", in which there are many smaller boroughs.The old quarter, known as the "Casco Viejo", is located in the "corregimiento" of San Felipe.