The Battle of Baghaur was fought between the Sikh forces led by Guru Gobind Singh and the Baghaur forces led by Shiv Partap at Rajasthan.

Background
Daya Singh and Dharam Singh were sent to the embassy of Aurangzeb to send a letter written by Guru Gobind Singh called the Zafarnama. Aurangzeb was moved by the letter and invited the Guru. At Baghaur in Rajasthan, Daya Singh and Dharam Singh met the guru. There he also heard the news that Aurangzeb had died in his camp at Ahmadnagar. The residents were, for some unknown reason, scared from the Guru and planned to attack him. They were mainly terrified of the Guru's caravan which is what made the Guru store it somewhere for a few days. A few days had passed and the Sikhs went on to check the caravan camels. They had gone missing. They had consumed orchard trees, which made a gardener confiscate them. He further beat up the camel driver and took him hostage.

Battle
After the camel incident, 15 Sikhs went in and attempted to negotiate the release of the camels and the driver. The gardener refused and the Sikhs fought. This led to state soldiers launching a counterattack and a battle ensued which lasted 2 days long. Many casualties occurred during this period of time. The Sikhs had successfully plundered the city but the fort still remained. As the fight entered the third day, Dharam Singh with the Sikhs made a dash and kept fighting and killing everyone. Peace was proclaimed but on the day the Raja arrived, the hostilities continued. Dharam Singh killed the rajas command-in-chief while the guru finished the raja himself. The Raja's force made a complete surrender which resulted in a Sikh victory.
Given a reference text about the Battle of Baghaur, tell me who was in the battle and who won.
The Sikh forces defeated Baghaur forces in the Battle of Baghaur.