Japa wrote Fray Botod as a means of propagating the spirit of nationalism in the Philippines.