Pirates, of course, had to sell their loot. They had trading relationships with land communities and foreign traders in the southeastern regions of China. Zhu Wan, who held the office of Grand Coordinator for Coastal Defense, documented that pirates in the region to which he had been sent had the support of the local elite gentry class. These “pirates in gowns and caps” directly or indirectly sponsored pirate activity and certainly directly benefitted from the illegal private trade in the region. When Zhu Wan or other officials from the capital attempted to eliminate the pirate problem, these local elites fought back, having Zhu Wan demoted and eventually even sent back to Beijing to possibly be executed. The gentry who benefitted from illegal maritime trade were too powerful and influential, and they were clearly very invested in the smuggling activities of the pirate community.