Vietnam interfered into the civil war between the Royal Lao Army and the communist Pathet Lao until the establishment of the Lao People's Democratic Republic and the "Treaty of Friendship and Cooperation" signed in July 1977.