The Democratic Party primary for the 2021 New York City mayoral election took place on June 22, 2021. Brooklyn Borough President Eric Adams defeated 12 other candidates, including Kathryn Garcia, Maya Wiley and Andrew Yang. Adams went on to defeat Republican Curtis Sliwa and other candidates in the November 2, 2021 general election.