<human>:  What was the outcome of the Battle of Mafeking?
<bot>: The British forces were defeated, and the Boer republic was established. The British were forced to surrender and the Boers were able to take control of the town.