Tang Gaozu
Traditionally, he was considered the last emperor of the Sui dynasty because he was succeeded and executed by Li Yuan (Emperor Gaozu of Tang), the founding emperor to the succeeding Tang Dynasty. However, after him, his brother Yang Tong claimed the throne and continued to do so until 619.