Ruling party wins majority in parliament