A proxy war is an armed conflict between two states or non-state actors, one or both of which act at the instigation or on behalf of other parties that are not directly involved in the hostilities. In order for a conflict to be considered a proxy war, there must be a direct, long-term relationship between external actors and the belligerents involved. The aforementioned relationship usually takes the form of funding, military training, arms, or other forms of material assistance which assist a belligerent party in sustaining its war effort. During classical antiquity and the Middle Ages, many non-state proxies were external parties that were introduced to an internal conflict and aligned themselves with a belligerent to gain influence and to further their own interests in the region. Proxies could be introduced by an external or local power and most commonly took the form of irregular armies which were used to achieve their sponsor's goals in a contested region. Some medieval states like the Byzantine Empire used proxy warfare as a foreign policy tool by deliberately cultivating intrigue among hostile rivals and then backing them when they went to war with each other. Other states regarded proxy wars as merely a useful extension of a pre-existing conflict, such as France and England during the Hundred Years' War, both of which initiated a longstanding practice of supporting privateers, which targeted the other's merchant shipping. France used England's turmoil of the Wars of the Roses from their victory as a proxy, siding with the Lancastrians against the Yorkists who were backed by the Burgundian State. The Ottoman Empire likewise used the Barbary pirates as proxies to harass Western European powers in the Mediterranean Sea. Frequent application of the term "proxy war" indicates its prominent place in academic researches on international relations. Separate implementation of soft power and hard power proved to be unsuccessful in recent years. Accordingly, great failures in classic wars increased tendencies towards proxy wars.