 On 31 June 1408 he was therefore replaced as patriarch by Antonio di Ponte, but, with the support of some cardinals who opposed Gregory, he obtained his reinstatement at the Council of Basel.In 1411 he was elected cardinal by John XXIII in order to free the Aquileian throne to Louis of Teck, a nobleman whose German allegiances were useful for the antipope.Pancieri remained in Friuli, but in 1412 he was forced to flee.