During the colonial period, Guatemala was an audiencia, a captaincy-general (''Capitanía General de Guatemala'') of Spain, and a part of New Spain (Mexico). The first capital, Villa de Santiago de Guatemala (now known as Tecpan Guatemala), was founded on 25 July 1524 near Iximché, the Kaqchikel capital city. The capital was moved to Ciudad Vieja on 22 November 1527, as a result of a Kaqchikel attack on Villa de Santiago de Guatemala. Owing to its strategic location on the American Pacific Coast, Guatemala became a supplementary node to the Transpacific Manila Galleon trade connecting Latin America to Asia via the Spanish owned Philippines.