Early in the period, Qi annexed a number of smaller states. Qi was one of the first states to patronize scholars. In 532BC, the Tian clan destroyed several rival families and came to dominate the state. In 485BC, the Tian killed the ducal heir and fought several rival clans. In 481BC, the Tian chief killed a puppet duke, most of the ruler's family, and a number of rival chiefs. He took control of most of the state and left the Duke with only the capital of Linzi and the area around Mount Tai. In 386BC, the House of Tian fully replaced the House of Jiang as rulers of Qi. In 222BC, Qi was the last of the warring states to be conquered by Qin, thereby putting an end to the wars and uniting China under the Qin Dynasty.