Relations between the two states since then have largely been cordial, however tensions rose in the 1970s, due largely the more assertive pan-Arab and anti-Israel foreign policy of the Gadaffi government in Libya, which resulted in a brief war between the two countries along their northern border in 1977.