 Complete the following phrase:  Kupres was first mentioned in documents from the Kingdom of Croatia which was based in nearby Duvno now called Tomislavgrad. During its History, Kupres was part of Kingdom of Croatia, Bosnian Kingdom, the Ottoman Empire, Austro-Hungarian monarchy following the conquest and annexation of Bosnia. After World War I, Kupres found itself in State of Croats, Slovenes and Serbs SHS, and slightly afterwards in Kingdom of Yugoslavia within Vrbas Banovina and the Banovina of Croatia until 1939. During World War II, Kupres was strategically important town of Independent State of Croatia defended by notorious Black Legion and place where famous Battle of Kupres took place in 1942. After collapse of Nazi Germany and its puppet state of NDH, Kupres became part of newly founded Socialist Federal Republic of Yugoslavia within SR Bosnia and Herzegovina and it stayed that until 1992 and proclamation of independence of Bosnia and Herzegovina that led to 