Background
He was the eldest son of count James I of Urgell and Cecilia of Comminges, daughter of the count of Comminges and viscount of Turenne, Bernard VII.
He was the eldest son of count James I of Urgell and Cecilia of Comminges, daughter of the count of Comminges and viscount of Turenne, Bernard VII.
At the death of his father, he inherited his titles of Urgell, viscount of Àger, baron of Entença and Antillón. As he was underage, his mother acted initially as tutor. In 1376 he remarried to Margaret Palaiologina, daughter of John II Marquess of Montferrat.
In 1396, after Martin of Aragon had become king of Aragon, he faced Matthew, Count of Foix, who had invaded Aragon, and pushed him back.
He died at Balaguer in 1408. James II, Count of Urgell.