Before the Spanish arrived in the Philippines the ancient peoples there were engaging in naval warfare, trade, piracy, travel and communication using balangay.
A flotilla of balangay was discovered in the late 1970s in Butuan City, Agusan del Norte.

Philippine ships, such as the karakao or korkoa, were of excellent quality and some of them were used by the Spaniards in expeditions against rebellious tribes and Dutch and British forces.
Some of the larger rowed vessels held up to a hundred rowers on each side besides a contingent of armed troops.
Generally, the larger vessels held at least one lantaka at the front of the vessel or another one placed at the stern.
Philippine sailing ships called praos had double sails that seemed to rise well over a hundred feet from the surface of the water.
Despite their large size, these ships had double outriggers.
Some of the larger sailing ships, however, did not have outriggers.

Antecedent to this raids, sometime between A.D. 1174 and 1190, a traveling Chinese government bureaucrat Chau Ju-Kua reported that a certain group of "ferocious raiders of China’s Fukien coast" which he called the "Pi-sho-ye," believed to have lived on the southern part of Formosa.

In A.D. 1273, another work written by Ma Tuan Lin, which came to the knowledge of non-Chinese readers through a translation made by the Marquis D’Hervey de Saint-Denys, gave reference to the Pi-sho-ye raiders, thought to have originated from the southern portion of Formosa.
However, the author observed that these readers spoke a different language and had an entirely different appearance (presumably when compared to the inhabitants of Formosa).

In the Battle of Manila in 1365 is an unspecified and disputed battle occurring somewhere in the vicinity of Manila between the forces of the Kingdoms in Luzon and the Empire of Majapahit.

Even though the exact dates and details of this battle remain in dispute, there are claims of the conquest of the area around Saludong (Majapahit term for Luzon and Manila) according to the text Nagarakretagama
Nevertheless, there may have been a battle for Manila that occurred during that time but it was likely a victory for Luzon's kingdoms considering that the Kingdom of Tondo had maintained its independence and was not enslaved under another ruler.
Alternatively, Luzon may have been successfully invaded but was able to regain its independence later.
Before the Spanish arrived in the Philippines the ancient peoples there were engaging in naval warfare, trade, piracy, travel and communication using balangay. A flotilla of balangay was discovered in the late 1970s in Butuan City, Agusan del Norte.
Philippine ships, such as the karakao or korkoa, were of excellent quality and some of them were used by the Spaniards in expeditions against rebellious tribes and Dutch and British forces. Some of the larger rowed vessels held up to a hundred rowers on each side besides a contingent of armed troops. Generally, the larger vessels held at least one lantaka at the front of the vessel or another one placed at the stern. Philippine sailing ships called praos had double sails that seemed to rise well over a hundred feet from the surface of the water. Despite their large size, these ships had double outriggers. Some of the larger sailing ships, however, did not have outriggers.
Antecedent to this raids, sometime between A.D. 1174 and 1190, a traveling Chinese government bureaucrat Chau Ju-Kua reported that a certain group of "ferocious raiders of China’s Fukien coast" which he called the "Pi-sho-ye," believed to have lived on the southern part of Formosa.
In A.D. 1273, another work written by Ma Tuan Lin, which came to the knowledge of non-Chinese readers through a translation made by the Marquis D’Hervey de Saint-Denys, gave reference to the Pi-sho-ye raiders, thought to have originated from the southern portion of Formosa. However, the author observed that these readers spoke a different language and had an entirely different appearance (presumably when compared to the inhabitants of Formosa).
In the Battle of Manila in 1365 is an unspecified and disputed battle occurring somewhere in the vicinity of Manila between the forces of the Kingdoms in Luzon and the Empire of Majapahit.
Even though the exact dates and details of this battle remain in dispute, there are claims of the conquest of the area around Saludong (Majapahit term for Luzon and Manila) according to the text Nagarakretagama
Nevertheless, there may have been a battle for Manila that occurred during that time but it was likely a victory for Luzon's kingdoms considering that the Kingdom of Tondo had maintained its independence and was not enslaved under another ruler. Alternatively, Luzon may have been successfully invaded but was able to regain its independence later.
Philippine Navy