Yandy Smith was pepper-sprayed on Sunday while protesting outside of the Metropolitan Detention Center in Brooklyn, New York.

The Love & Hip Hop star was among hundreds of individualsincluding Women's March co-founder Tamika Mallory and rapper/activist Mysonne
who gathered after reports that inmates at the federal jail went days without power or heat.

Fox 5 News reporter Lisa Evers shared a picture of Smith after the incident on Sunday afternoon. "Yandy sprayed with pepper spray at MDC trying to support a mother worried about her son," she captioned the image.

https://www.facebook.com/LisaEvers/posts/2439381196090182:0

During the gathering, Smith took to Instagram to condemn people who claimed she was out in Brooklyn only for attention.

"Here real change is happening because we demanded it and put in the work. Stop sitting at home judging, causing dissension, and allowing nonsense to cloud your vision of what’s right!" she wrote. "Get up and get out there with me. You see the work and I will CONTINUE TO POST! SO THE NEXT TIME YOU SAY YANDY DOES IT FOR SOCIAL MEDIA MAKE SURE YOU ADD BUT SHE REALLY PUTS IN THE WORK AND MAKES THINGS HAPPEN!"

https://www.instagram.com/p/BtbDvqaBQGp/

The power and heat reportedly went out because of an electrical issue within the correctional facility, according to The New York Times. It is unclear how long the 1,600 inmates were without the amenities but many of them called federal defenders to report the freezing conditions during the harsh cold weather last week in New York City.

The inmates brought public attention to the issue by banging on the window bars of their cells.

After the weekend-long protest, officials restored the power in the center on Sunday night. The celebrity manager shared the victory with her nearly 6 million followers.

https://www.instagram.com/p/BtcFEP5hb-O/

"YESSSSSSSSSSSSS!!! We see lights!!! Lights are on!! We did it! @tamikadmallory@jamilatdavis@trife_gangsta@mysonnenygeneral@bonded4ever. Hope this means the heat is on too. We won’t leave until we have that," the reality star said.