Trivendra Singh Rawat, who resigned as the chief minister of Uttarakhand on Tuesday, said that he was fortunate to have served the state.