The city surrendered to British forces on June 5 , 1900 . The war ended in Pretoria with the signing of the Peace of Vereeniging on May 31 1902 .
The city surrendered to British forces under Frederick Roberts on 5 June 1900 and the conflict was ended in Pretoria with the signing of the Peace of Vereeniging on 31 May 1902 .