The controversy at an exclusive Maryland country club over whether to allow President Obama to join took a new turn when a member resigned Monday.

Jeffrey Slavin, a local mayor, dropped his membership on Martin Luther King Jr. Day because of the controversy, saying he could “no longer belong to a community” with such “intolerance.”

“I can no longer belong to a community,” Slavin wrote in an email to the general manager of the club.

“Where Intolerance is accepted, Where History is forgotten, Where Freedom of Speech is denied, And where the nation’s first black president is disrespected,” said Slavin, the mayor of Somerset, Maryland.

Slavin thanked the club for “many great memories” and signed his email, “Stay Woke.”

A copy of the email was obtained by the Washington Post.

As first reported by the New York Post, the controversy at the Woodmont Country Club, a predominantly Jewish club, stems from Obama’s controversial positions and actions regarding Israel, which have angered many members, including liberal Democrats.

A number of members have moved to block the president’s entry — with some threatening legal action if he’s admitted.

Membership to Woodmont is pricey — $80,000 to be initiated and nearly $10,000 in annual fees.