Between March and June 1476, French troops captained by Alain I of Albret tried to cross the border at Fuenterrabía but were repelled. Ferdinand took advantage of the situation to secure his position in the unsettled Kingdom of Navarre. In August, negotiations began in Tudela, which culminated with the signing of an accord by which the belligerent parties of the Navarrese Civil War put an end to their conflict. Ferdinand obtained the control of Viana, Puente La Reina, and other strongholds, as well as the right to maintain a garrison of 150 lances in Pamplona.