NEW YORK (

TheStreet

) --

Berkshire Hathaway's

(BRK.A) - Get Report

Warren Buffett

toils in financial markets amid a sea of critics who bash the government from all sides, but going against the grain in the same way that has made him rich, he wrote a letter to "Uncle Sam" thanking the government for its work since the 2008 financial crisis.

"

When businesses and people worldwide race to get liquid, you are the only party with the resources to take the other side of the transaction," Buffett said in an open letter to the U.S. government published today in the New York Times. "And when our citizens are losing trust by the hour in institutions they once revered, only you can restore calm."

Buffett singled out Federal Reserve Chairman Ben Bernanke former and current Treasury secretaries Hank Paulson and Tim Geithner and

Federal Deposit Insurance Corp.

Chairman Sheila Bair for praise, saying they "grasped the gravity of the situation and acted with courage and dispatch."

Geithner, who worked alongside Paulson during the crisis as New York Fed chief before succeeding him as Treasury Secretary, and Bair, who has remained atop the FDIC through the transition from the Bush to Obama administrations, have often been portrayed in the press as being at odds with each other.

--

Written by Dan Freed in New York

.

Disclosure: TheStreet's editorial policy prohibits staff editors, reporters and analysts from holding positions in any individual stocks.