Breed became "acting" Mayor following the death of Mayor Ed Lee. She served in this role from December 12, 2017 to January 23, 2018. She won the special election a few months later making Breed the first black woman and second woman to be elected mayor of San Francisco. She was sworn in as mayor on July 11, 2018.