Bernardo Carpio is a legendary figure in Philippine mythology who is said to be the cause of earthquakes. There are numerous versions of this tale. Some versions say Bernardo Carpio is a giant, as supported by the enormous footsteps he has reputedly left behind in the mountains of Montalban. Others say he was the size of an ordinary man. Accounts of the stories have pre-colonial origins, but the name of the hero was Hispanized during the Spanish colonization. The original name of the hero has been lost in time. All versions of the story agree that Bernardo Carpio had a strength that was similar to that of many strong men-heroes in Asian epics, such as Lam-ang.
Basic legend
The basic form of the legend is that Bernardo Carpio, a being of great strength, is trapped in between two great rocks in the Mountains of Montalban. Some versions say he is keeping the mountains from crashing into each other, and some versions say he is trapped and trying to break free. When Bernardo Carpio shrugs his shoulder, an earthquake occurs.
As a revolutionary against Spanish occupation
According to one version of the tale, Bernardo Carpio was a son of Infante Jimena and Don Sancho Díaz of Cerdenia. The Infante was cloistered by her brother King Alfonso, who at that time was very powerful, because of her forbidden love with Don Sancho. Don Sancho was incarcerated, and his eyes were to be plucked out. Bernardo was left to the care of Don Rubio, who divulged the love affair. The Spanish hired a local engkantado and conspired to trap Carpio through supernatural means. Calling for a parley, they lured him towards a cave in the mountains of Montalban. The engkantado used his agimat, and Bernardo Carpio was caught between two boulders which the shaman had caused to grind each other. The legend says he was not killed, but was trapped between these two boulders, unable to escape because the talisman's power was as great as his own strength. When Carpio's allies arrived at the cave to rescue him, they were blocked from the cave by a series of cave ins that killed several of them. People soon surmised that whenever an earthquake happens, it is caused by Bernardo Carpio trying to free himself from the mountain.
Etymology
The same version says that Bernardo Carpio demonstrated unusual strength, even as a child. As a result, the parish priest who baptised him suggested that his parents name him after the Spanish legendary heroBernardo del Carpio. This became a foreshadowing of the legendary life Carpio himself would lead.
Damiana Eugenio was able to find and document a 1940 compilation of tales detailing the legend of Bernardo Carpio. It specifically says that:
"Bernardo Carpio is considered the savior of the Filipinos against national oppression and enslavement".
According to that particular telling of the tale, when the last link on the chains binding Carpio is broken, "the enslavement and oppression of the Filipino race will be replaced with freedom and happiness." While this belief apparently referred to the Spanish Occupation of the Philippines and the later occupation by the Philippines by the U.S. and by Japan in World War II, the legend has continued to be told this way, an apparent reference to freedom from poverty rather than foreign domination. Filipino revolutionary heroes Jose Rizal and Andres Bonifacio are said to have paid homage to the Bernardo Carpio legend - the former by making a pilgrimage to Montalban, and the latter making the caves of Montalban the secretmeeting place for the Katipunan movement.
The tale of Bernardo Carpio can be considered an etiological myth which explains the occurrence of earthquakes. The area which hosts the legend of Bernardo Carpio is also home to the West Valley Fault System.
Lav Diaz's 2016 film A Lullaby to the Sorrowful Mystery prominently features a tikbalang which is revealed to be the engkanto who made a deal with the Spanish rulers to bind Bernardo Carpio, effectively allowing the Spanish to rule over the leaderless people. Towards the end of the film, however, the Tikbalang reveals that it/they never chained up Bernardo Carpio because he is just a myth, noting that it is foolish to hope for salvation from a figment of the imagination.