(Cheryl Gerber/AP)

It was only a few weeks ago that David Hayes, the Deputy Secretary of the Interior Department, confessed to the Loop that his dream job was being a golf teaching pro at Pebble Beach.

It looks like he’s getting a little closer to that fantasy gig: Hayes announced Tuesday that he’s trading Washington for Palo Alto, where he’ll be teaching at his alma mater, Stanford Law, and senior fellow-ing at the Hewlett Foundation.

Hey, it’s a teaching job — and he’s a few thousand miles to the famed golf course than he was at DOI headquarters, no?

In statements, newly sworn-in Interior Secretary Sally Jewell and President Obama both thanked Hayes, who had served as the number-two guy at Interior since early in Obama’s first term (a job he also held in the Clinton administration). Hayes has focused on renewable energy production, and is the department’s point person on Arctic energy development.

Hayes has practiced environmental law and has a long history in Democratic politics, having worked not just in the Clinton and Obama administrations, but also on President Bill Clinton’s transition team, for Vice President Al Gore, and on the presidential campaigns of John Kerry and Obama.

“David’s leadership at the Department of the Interior has played an important role in my Administration’s efforts to expand domestic energy production, including renewable energy as well as America’s oil and natural gas resources,” Obama said in a statement. “His expertise has helped shape our approach to conservation and our efforts to combat climate change, and as the Chair of the interagency working group on energy development in Alaska he has ensured that decisions we make regarding the Arctic are based on the best science.”

Hayes will leave in June...,and we bet he’ll be packing those golf clubs.