Puerto Vallarta is a Mexican beach resort city situated on the Pacific Ocean's Bahía de Banderas in the Mexican state of Jalisco. Puerto Vallarta is the second largest urban agglomeration in the state after the Guadalajara Metropolitan Area. The City of Puerto Vallarta is the government seat of the Municipality of Puerto Vallarta which comprises the city as well as population centers outside of the city extending from Boca de Tomatlán to the Nayarit border . The city is located at 20°40′N 105°16′W. The municipality has an area of 1,300.7 square kilometres (502.19 sq mi). To the north, it borders the southwest part of the state of Nayarit. To the east, it borders the municipality of Mascota and San Sebastián del Oeste, and to the south, it borders the municipalities of Talpa de Allende and Cabo Corrientes.