The region now known as Bosnia and Herzegovina was settled by Slavic peoples between the 6th and 9th centuries during the great Slavic migrations into southeastern Europe. By the late 14th century, Bosnia had developed into an independent kingdom under the Kotromanić dynasty, reaching its peak under King Tvrtko I (crowned 1377).