The final definition, that for the most part still in force, was conducted with the signing of the Bayonne Treaties between 1856 and 1868. During the mandates of the Queen of Spain Isabel II and French emperor Napoleon III between the two countries were signed several agreements by which the border was established:[4]