While "put the Hammers to the sword" seems only to exist in this particular citation (the Hammers would seem to be obviously a reference to the West Ham United Football Club) the expression "put x to the sword" seems to be common enough. Sword would be the instrument dealing out the punishment and not the recipient, an honour which belongs to x.