Tesla Inc. Chairman Robyn Denholm sold 31,250 shares of the electric-vehicle maker for more than $22 million, according to a regulatory filing late Wednesday.

Denholm, who recently testified in a Delaware court as part of a shareholder lawsuit over Tesla’s controversial 2016 acquisition of SolarCity, has served on Tesla’s board since August 2014.

She became chair in November 2018 after Chief Executive Officer Elon Musk was forced to relinquish the role as part of his settlement agreement with the U.S. Securities and Exchange Commission. The SEC agreement, announced in September of 2018, required Musk to step down from the role and be replaced by an independent chairman for three years.

Those three years are almost up, meaning that Musk could potentially resume the role. Tesla has yet to file its proxy for the 2021 shareholder meeting.

Denholm lives in Australia and was previously the chief financial officer at Australian telecoms company Telstra Corp.

The filing Wednesday shows she exercised options to purchase the shares, paying the required strike prices, then subsequently sold the stock. All the transactions were executed on Aug. 2 and the shares were sold at weighted average prices ranging from $700 to $726.11.