Complex sentence: Building work on the Yonghegong Temple started in 1694 during the Qing Dynasty, it originally served as an official residence for court eunuchs.
Split into simpler sentences: Building work on the Yonghegong Temple started in 1694 during the Qing Dynasty. It originally served as an official residence for court eunuchs.