 Hamburg was the third–largest city in the Hanseatic League (after Lübeck and Cologne).On 21 October 1401 the pirate Klaus Störtebeker was executed in Hamburg, although pirates were often thrown overboard to drown or decapitated shortly after their capture.In 1433 Simon van Utrecht defeated the pirates and conquered Emden.