Guan Yu's three conditions

In the year 199 A.D. Cao Cao led his army to attack Xu province after Liu Bei seized it from Che Zhou. Liu Bei, Guan Yu and Zhang Fei got seperated in this battle. Guan Yu stayed back to defend to defend Xu province, where Liu Bei's spouses were, but was lured out of the city by Cao Cao's ruse. Guan Yu was heavily besieged on a small hill outside the city and Cao Cao sent Zhang Liao to ask Guan Yu to surrender. Guan Yu agreed to surrender, but only under three conditions:

1. Liu Bei's spouses must not be harmed and well taken care of.

2. Guan Yu surrendered to the Emperer and not to Cao Cao.

3. Guan Yu will go and reunite with Liu Bei as soon as he knows of his whereabouts.

Zhang Liao agreed and took Guan Yu with him to Cao Cao.

What happened historically?

 * Historically, Guan Yu was captured in battle and he decided to join Cao Cao temporary. He never proposed any conditions.