He died in 1508 in the Castello Sforzesco of that city .
Excommunicated , Giovanni ended his days as prisoner of Louis XII in Milan .
Giovanni died in 1508 in the Castello Sforzesco of that city .
Excommunicated , Giovanni ended his days as prisoner of Louis XII in Milan .