BROOKLYN, MI - JUNE 16: Darrell Wallace Jr., driver of the #43 Smithfield Ford, stands on the grid during qualifying for the Monster Energy NASCAR Cup Series FireKeepers Casino 400 at Michigan International Speedway on June 16, 2017 in Brooklyn, Michigan. (Photo by Sarah Crabill/Getty Images)

Coach resigns after hateful and racist tweets regarding Bubba Wallace

Cambridge High School (Wisconsin) golf coach Brent Nottestad has resigned from his position after tweeting offensive remarks about African-American NASCAR driver Darrell "Bubba" Wallace.

Wallace, who recently signed with Richard Petty Motorsports for next season, tweeted about being the only African American driver in the Cup Series.

Nottestad, who had been the Cambridge golf coach since 2014, responded to the tweet and said, "Will this fella just go away. Can't drive himself out of an open wet paper bag. Sad to see the sport let this clown with zero ability."

Nottestad's next tweet was even more offensive than his first.

"Hey @BubbaWallace. Please quit with, 'I'm black' bs. You're terrible. There are 1423 more credible drivers to get that ride than you."

Both of Nottestad's tweets have since been deleted, but Wallace responded to the second one.

Related: We finally know how Richard Petty Motorsports is paying for Bubba Wallace

Nottestad later tweeted about Wallace's grandmother in reference to a tweet pinned to Wallace's wall, and he commented that it looked like "going to the zoo" about Wallace posing with a white fan.

School superintendent Bernie Nikolay released a statement via the Cambridge News regarding Nottestad's resignation.

"The Cambridge School District was made aware of several offensive comments made on social media by Cambridge High School boys' golf coach, Brent Nottestad," Nikolay said. "After a meeting between Mr. Nottestad and school district officials this morning, Mr. Nottestad resigned his position with the district, effective immediately. As this is a personnel matter, no other statements or comments will be forthcoming from the school district."

Nottestad likely had no choice in the situation considering how offensive his tweets were, and the school district likely would've fired him had he not resigned.