 Robert the Bruce rewarded the loyalty of the Douglases, and Sir James' heirs were created Earls of Douglas.Douglas Castle was rebuilt as one of their strongholds, but by the 15th century, the power of the "Black" Douglases had come to threaten the Stewart monarchy.In 1455 James II led an expedition against the rebellious 9th Earl, defeating his forces at the battle of Arkinholm.