Three high school students who faced racist attacks online after entering a nationwide NASA competition have been awarded $4,000 by Washington, D.C. Mayor Muriel Bowser, the mayor’s office announced Thursday.

The students, Mikayla Sharrieff, India Skinner and Bria Snell, juniors at Washington’s Benjamin Banneker High School, had designed a system to filter lead out of school drinking water fountains. Their project propelled them into the final round of NASA’s Goddard’s Optimus Prime Spinoff Promotion and Research Challenge — the only all-black, female team to do so, the Washington Post reports.

Their success, however, also made them the targets of racist cyberattacks on anonymous web forum 4chan.

The site’s users attempted to organize voting drives to support other teams and hack the competition’s voting system, prompting NASA to close voting for the competition.

“Mikayla, India and Bria are reminding us that the good in our world is stronger than the hate, and we want them to know that the District has their back,” Bowser wrote in a weekly newsletter, according to the Post.

The team, who celebrated themselves as a “Hidden figures in the making,” a reference to the 2016 film about three early black female NASA employees, are also volunteers at Washington’s Inclusive Innovative Incubator technology lab. The $4,000 prize will be donated to the incubator to support the students’ work on the water filter system, according Post.

Get The Brief. Sign up to receive the top stories you need to know right now. 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 Eli Meixler at eli.meixler@time.com.