The roots of the dispute reach back to March 22 , 1682 , when Charles II gave his brother , James , the duke of York and the future King James II , all the land within a 12-mile radius of New Castle , now in Delaware .