See for example https://en.m.wikipedia.org/wiki/Sinjska_alka
Today's croatian borders reflect thr defense line against ottoman invasion. Infact, the part of Croatia that fell to the ottomans is now known as Herzegovina, which now forms the Bosnia and Herzegovina country.