Babiš was elected Prime Minister of the Czech Republic following his victory in the 2017 legislative election when his party won 78 seats winning the majority party in the Chamber of Deputies of the Czech Republic.