 The borders under dispute were those created by the conquests of James II of Aragon in Murcia between 1296 and 1300.Murcia was (before 1296) a dependency of Castile.The chief exchange effected by the new treaty of Elche was the important port city of Cartagena, which returned to Castile.