Until September 2019, it was one of the few countries to recognise the Republic of China (Taiwan) and maintain formal diplomatic relations with the latter. Relations with Papua New Guinea, which had become strained because of an influx of refugees from the Bougainville rebellion and attacks on the northern islands of Solomon Islands by elements pursuing Bougainvillean rebels, have been repaired. A 1998 peace accord on Bougainville removed the armed threat, and the two nations regularised border operations in a 2004 agreement.