By Eugene Scott

PHILADELPHIA (CNN)–During the presidential campaign, Donald Trump regularly attacked Mitt Romney for criticizing him. But the former Massachusetts governor now believes Trump will be open to criticism.

READ MORE: At Least 6 People Killed In Several Shootings From Saturday To Sunday In Philadelphia: Police

“I was more than a little surprised that the president-elect reached out to me to potentially serve as secretary of state of the United States,” Romney wrote Saturday in the Salt Lake Tribune. “I see it as a welcome sign that he will be open to alternative views and even to critics.”

Romney was a finalist to be the next secretary of state before Trump selected ExxonMobil Chairman Rex Tillerson for the top diplomatic spot.

Despite calling Trump a “phony” and a “fraud,” Romney said he would have gladly worked for Trump to help shape US foreign policy.

“I was indeed very critical of Donald Trump during his campaign,” he wrote. “But now he has been elected president and accordingly, if I could have helped shape foreign policy to protect the country I love, I would have been more than willing to do so.”

READ MORE: SEPTA Transit Police Searching For 3 Suspects Accused Of Assaulting, Robbing Woman On Market-Frankford Line In Center City

The 2012 Republican presidential nominee said he wishes Trump the best in his administration.

“As the country’s next president, I earnestly hope that he will be successful in fostering greater prosperity and peace. I believe all Americans can join in that wish,” Romney wrote.

In confirming earlier this week that he would not be secretary of state, Romney said it was an “honor” to have been considered.

“It was an honor to have been considered for secretary of state of our great country. My discussions with President-elect Trump have been both enjoyable and enlightening. I have very high hopes that the new administration will lead the nation to greater strength, prosperity and peace,” he said.

MORE NEWS: Detectives Investigating Deadly Shooting In Trenton, Police Say

The-CNN-Wire & 2016 Cable News Network, Inc., a Time Warner Company. All rights reserved.