The medieval period in Bosnia lasted until the invasion of Ottoman Empire.
Even though military fortresses in Bosnia and Herzegovina date from Roman times, most of them were built between the 12th and 15th century.