Vermont Senator Bernie Sanders has made his antiwar, dovish image the foundation of his campaign in his efforts to beat Hillary Clinton for the Democratic nomination. But a look at Sanders’ record puts that image into question.

Recently, there was Bernie’s support for the F-35, a stealth fighter that was unnecessary, plagued with problems, and considered by many experts to be a prime example of wasteful defense spending. But it’s just par for the course with Sanders.

The Daily Beast reports on how Sanders’ campaign speeches are full of rhetoric aimed at corporations and the military industrial complex, yet when those companies come around, Bernie has been very friendly.

“We know that there is massive fraud going on in the defense industry. Virtually every major defense contractor has either been convicted of fraud or reached a settlement with the government,” Sanders said in Iowa City last year at a town hall. “We need a strong military, it is a dangerous world. But I think we can make judicious cuts.”

But when those defense corporations come to his own backyard, he quietly welcomes them in. The Vermont senator persuaded Lockheed Martin to place a research center in Burlington, according to Newsweek, and managed to get 18 Lockheed Martin F-35 fighter jets stationed at the city’s airport for the Vermont National Guard. “In very clever ways, the military-industrial complex puts plants all over the country, so that if people try to cut back on our weapons system what they’re saying is you’re going to be losing jobs in that area,” Sanders said at a Q&A in New Hampshire back in 2014. “[W]e’ve got to have the courage to understand that we cannot afford a lot of wasteful, unnecessary weapons systems, and I hope we can do that.”