It started as the small port town of Cavite Puerto that prospered during the early Spanish colonial period when it became the main seaport of Manila hosting the Manila-Acapulco galleon trade and the port used for other heavy and larger sea-bound ships.