KEY POINTS
  • Tesla CEO Elon Musk announced the news on Wednesday's earnings call.
  • His position will be filled by Drew Baglino, who had been a vice president.
Jeffrey Straubel, chief technical officer and co-founder of Tesla Motors Inc., center, speaks as billionaire Elon Musk, chief executive officer of Tesla Motors Inc., left, and Yoshihiko Yamada, consultant at Panasonic Corp., look on during a press event at Tesla's new Gigafactory in Sparks, Nevada, U.S., on Tuesday, July 26, 2016.

Tesla's Chief Technology Officer JB Straubel is leaving his post to become an advisor to the carmaker, CEO Elon Musk said on the company's second-quarter earnings call on Thursday.

Straubel, one of the company's co-founders, is best known for helping to create Tesla's signature battery technology. He also oversaw power electronics, motors, software, firmware and controls, among other responsibilities at Tesla over the course of his tenure there.