EU country’s government defeated in election