Hindutva hardliner and Bharatiya Janata Party leader Yogi Adityanath was on Sunday sworn in as the new Uttar Pradesh Chief Minister at Kanshiram Smriti Upvan in Lucknow in the presence of Prime Minister Narendra Modi and BJP chief Amit Shah.

The 44-year-old five-term MP from Gorakhpur was unanimously elected the BJP legislature party leader at a meeting of the newly elected MLAs on Saturday in Lucknow.

The announcement of Adityanath, priest-turned politician, for the CM post took many by surprise. State BJP chief Keshav Prasad Maurya, who was himself in contention for the top job besides union minister Manoj Sinha, first announced Adityanath's election.

Adityanath, will be the 21st chief minister of UP and the fourth from the BJP. He said he would follow Modi's slogan "sab ka saath, sab ka vikas" and ensure all round development of the the country's most populous state.

"I am confident that the state will march on the path of development," he said in his first brief media interaction at the Raj Bhawan on Saturday.

The Yogi said his efforts would be to provide "good governance" in the state.

(With inputs from agencies)