 In 1697 he defended Barcelona which was under siege by Vendôme by land and admiral D’Estrées by sea.Finally the city surrendered after a siege of 52 days.This was ordered from Madrid and against the will of prince George Louis.