SAN FRANCISCO — Apple Inc. and Samsung Electronics Co. agreed to lay down their arms in nine countries overseas where they had litigation pending, taking another step in the slow de-escalation of their long-running patent war.

In a joint statement, the bitter smartphone rivals said that they would drop all claims against each other abroad, halting litigation in Australia, France, Germany, Italy, Japan, the Netherlands, South Korea, Spain and the U.K.