 Defeated at Castefrorite and Montearagón, James took refuge in the castle of Balaguer which was under siege by the royal troops.He surrendered on the 31 October 1413 and was imprisoned in Teruel and then Xàtiva where he died twenty years later.James had four daughters and one son