Pinarayi Vijayan also served in the government of Kerala as Minister of Electric Power and Co-operatives