Having assisted in bombarding the town from range with a series of guns landed from Royal Navy vessels, Marshall attacked the fortress guarding Glückstadt with his squadron on 26 December. The action continued through to the morning of 28 December when it was called off, the enemy fortifications not having been heavily damaged by the attack. The British enhanced their batteries with more cannon and launched another attack in cooperation with their Swedish allies from land and sea on 1 January, but this was also repulsed. Glückstadt was subsequently captured on 5 January 1814 after a day of negotiations with the town's governor. Marshall received the thanks of Captain Arthur Farquhar, the over-all commander of the naval operations, for his services in the drawn out assault.
