In the past, Chakavian and Kajkavian dialects were spoken on a much larger territory, but have been replaced by Štokavian during the period of migrations caused by Ottoman Turkish conquest of the Balkans in the 15th and the 16th centuries.
What has caused Stokavian to become more widely spoken?
migrations caused by Ottoman Turkish conquest of the Balkans