Der, die or das?
masculine noun · mayor · level B1
die Bürgermeister - in the plural, every German noun takes the article die.
"Bürgermeister" doesn't follow any of the 35 gender rules - it belongs to the words you learn together with their article, as one unit: der Bürgermeister. That's exactly what the app's spaced repetition is for.