It was indeed An Zhengnan.
When he infiltrated the Capital City, the first thing he did was to search for Ren Yupei. When he found out that something didn't seem quite right, it was too late. He was seized, detained and his communication device was broken.
Even if he was beaten to death, he wouldn't believe that the man that had been working by his side for hundreds of years was a traitor! But it was the harsh truth! Everything was Ren Yupei's doing!
Taking advantage of the chaos and the destroyed underground prison, he sneaked his way out and was shocked to find out the messy state of the Royal Palace. If he didn't see the General's true form flying up in the sky, maybe he would have thought that he was thrown into the wilderness.
"Princess!" An Zhengnan carried her on his back and jumped up. "I will take you out of here!"