The historical factor that explains the leading religion in Albania, Kosovo, and Bosnia and Herzegovina is:
The Ottoman empire once controlled these countries.
The Ottoman Empire's influence is significant as it facilitated the spread of Islam in these regions, which remains the dominant religion today.