This widespread nationalism is thought to be a general cause of World War I. Nationalism played a specific role in World War I when Archduke Ferdinand and his wife were assassinated by Princip, a member of a Serbian nationalist terrorist group fighting against Austria-Hungary's rule over Bosnia.
It started it by a lot of things happening like Austria wanting to attack Serbia and hold them responsible and that Russia was an ally of them and wasn’t gonna let that happen and it just triggered everything like France and Germany fighting with Germany wanting to conquer them because they were weak at the moment