AC Milan vice president Adriano Galliani has confirmed the club have signed Ricardo Kaka from Real Madrid.