First lady Melania Trump booed as she gives remarks at opioid awareness summit

It appears to be the first time she's gotten booed without her husband present.

It's rare, if not unprecedented, for the first lady to get such a harsh reception at an event where she was appearing without her husband. It wasn't clear why she was booed, but she delivered her remarks as prepared and didn't appear to acknowledge the booing in any way.

“We live in a democracy and everyone is entitled to their opinion, but the fact is we have a serious crisis in our country and I remain committed to educating children on the dangers and deadly consequences of drug abuse," she said in a rare personal statement issued hours later.

The boos began as she greeted the more than 2,500 attendees of the B’More Youth Summit, held at the University of Maryland’s Baltimore campus. Not appearing to have been fazed by the booing, Trump began her remarks by thanking the students and other attendees for getting involved to fight the opioid crisis.

Since declaring the opioid epidemic a public health emergency in March, the Trump administration has made it a priority to raise awareness. She talked about her “Be Best” initiative, focused on helping future generations and three main pillars: well-being, online safety and opioid abuse, according to her remarks.

“I know each one of you has hopes and dreams for the future, whether it is college, joining the military, or playing a sport, your future will be determined by the choices you make,” she said. “Using drugs will only slow you down and prevent you from achieving those goals. I encourage you to use the resources available in your community so that nothing can stand in your way.”

Despite the controversy, she later tweeted that she was proud of the sponsors, the Drug Enforcement Agency's 360 campaign and the Mark Wahlberg Youth Foundation, for hosting the event.

Some students told the Washington Post they booed because "they believe the president is racist and were offended by his comments about Baltimore" -- a city Trump has called "rat and rodent infested."

The boos died down somewhat while she spoke at the event, but audience members could still be heard talking loudly, according to a pool report.

The booing then continued as she walked off the stage, smiling and waving toward the audience.

ABC News' Ben Gittleson contributed to this report.