Hillary Clinton apologized on Monday for saying in March that she would put coal miners and coal companies “out of business” as part of a transition to alternative energy sources.

The Democratic front-runner and former secretary of state called the prior remark a “misstatement” as she campaigned in Kentucky, ahead of the state’s Democratic primary on May 17, CBS News reported. The small group discussion took place in what was once one of the country’s top coal producing counties, as protesters gathered outside.

“What I said was totally out of context from what I meant,” Clinton said. “It was a misstatement, because what I was saying is that the way things are going now, we will continue to lose jobs.”

Clinton had made the comment during a town hall hosted by CNN in March, saying she would move away from coal and other fossil fuels in favor of renewable energy sources.

“I’m the only candidate which has a policy about how to bring economic opportunity using clean renewable energy as the key into coal country. Because we’re going to put a lot of coal miners and coal companies out of business,” she said during the town hall. “And we’re going to make it clear that we don’t want to forget those people. Those people labored in those mines for generations, losing their health, often losing their lives to turn on our lights and power our factories.”

Read more: Hillary Clinton Announces Plan to Protect Coal Communities

Clinton’s apology on Monday came in response to a man who said he had lost his job in the coal industry.

“I do feel a little bit sad and sorry that I gave folks the reason, or the excuse, to be so upset with me, because that is not what I intended at all,” Clinton said, CBS News reported. “I’m here because I want you to know whether people vote for me or not, whether they yell at me or not, is not going to affect what I’m gonna try to do to help.”

Get our Politics Newsletter. The headlines out of Washington never seem to slow. Subscribe to The D.C. Brief to make sense of what matters most. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Katie Reilly at Katie.Reilly@time.com.