Brandon Ehrhart has joined Tesla as general counsel and corporate secretary, becoming the electric car maker’s sixth legal chief since late 2019.

Ehrhart announced the new position on LinkedIn, saying he started in the role last month. He joined Tesla from the TV provider Dish Network, where he’d worked for 20 years and had been general counsel since 2020. Before Dish, he was an associate at Gray Cary Ware & Freidenrich, which merged with DLA in 2005.