He moved on to Anandpur and established the Khalsa, a collective army of baptised Sikhs, on 13 April 1699. The establishment of the Khalsa united the Sikh community against various Mughal-backed claimants to the guruship.[41]