A former Connecticut mayor has resigned as president of a local Chamber of Commerce after his Facebook post about a group of congresswomen at the State of the Union speech was condemned as misogynistic.

Timothy Stewart has apologized for his posting on Tuesday that included derogatory comments about congresswomen dressed in white as President Donald Trump gave his State of the Union speech.

The Republican former mayor of New Britain is the father of the city’s current mayor, Erin Stewart, who said she was “embarrassed and mortified” by her father’s post.

Greater New Britain Chamber of Commerce Chairman Gennaro Bizzarro said in a statement Saturday that he had accepted Stewart’s resignation as the group’s president.

Bizzarro said the Chamber of Commerce has been “rocked” by the aftermath of the posting.