Both classes of Warren Buffet's Berkshire Hathaway Inc. (BRK.A)   (BRK.B) stock reached all-time highs Tuesday even though the company's $9 billion bid to purchase power transmission company Oncor fell through. 

The deal's failure resulted in Standard & Poor's affirming the company's AA credit rating, saying that the company is no longer at risk for a credit downgrade. 

Berkshire had negotiated a $270 million deal breakup fee with Oncor. 

Berkshire couldn't maintain its momentum Wednesday afternoon as class A and B shares declined. 

Don't miss these top stories on TheStreet:

If you liked this article you might like

Your Complete Guide to Living Like Billionaire Warren Buffett

How to Get Rich Using Warren Buffett's Favorite Stock Market Indicators

How to Make Your Life Successful Just Like Billionaire Warren Buffett

How to Live Just Like Billionaire Warren Buffett

How to Make a Deal Like Billionaire Investor Warren Buffett