Around this time, Leonardo's cousin Andrea Loredan, known as a collector of art, commissioned the Ca' Loredan Vendramin Calergi, a palace on the Grand Canal, to designs by Mauro Codussi. The palace was paid for by the doge. Andrea also commissioned and paid for the choir of the church of San Michele in Isola, also designed by Codussi. In 1513, during the War of the League of Cambrai, he had to accept the role of quartermaster-general for the army, and he died in the Battle of La Motta in the same year, beheaded by two soldiers who fought over his body.