ISLAMABAD: Opposition parties in the National Assembly on Sunday defeated the ruling PTI government in the no-confidence resolution they jointly moved against Prime Minister Imran Khan with 174 votes, setting a new precedent in parliamentary history of the country for in-house change through a democratic and constitutional manner.