Eventually, they were relocated to Ashkhabad, 20 miles from the Iranian border, and York managed to "bribe" a smuggler, who helped them cross the border into Iran, which at the time was under British-Soviet occupation.