New Era Cap Co. is getting into the ring with WWE.

The Buffalo-based company announced a licensing agreement making New Era the official headwear partner of WWE. New Era will make select hats for marquee wrestling events as well as select headwear featuring logos, names and catchphrases of WWE stars and legends.

"New Era is an iconic brand with a long track record of working with the biggest sports and entertainment properties in the world," said Brian Flinn, WWE chief marketing and communications officer. Terms of the deal were not announced.

New Era is headquartered in downtown Buffalo. The company plans to close its manufacturing plant in Derby in March.