the stuplje monastery () is a serbian orthodox monastery dedicated to archangel michael and located in the village of gornji vijačani near the town of čelinac in north-western republika srpska, bosnia and herzegovina. folk tradition attributes the establishment of stuplje to king dragutin, a member of the serbian nemanjić dynasty, as is the case with other serbian monasteries in northern bosnia. the earliest mention of stuplje is found in a chronicle dated to the second half of the 15th century. the monastery was probably founded before 1450, and thus before the ottoman conquest of the kingdom of bosnia in 1463. this conquest did not include north-western bosnia, which then became part of the kingdom of hungary, to be conquered by the ottomans in 1527 and 1528. during the 17th century, the monks of stuplje were active in transcribing religious books. at some point during the great turkish war (1683–1699), the monastery was burned down by the ottomans. surviving monks fled north across the sava river and found refuge in the orahovica monastery in slavonia. they brought with them a number of their manuscript books, which thus became part of the orahovica library.