Shareholders for SolarCity and Tesla voted Thursday to approve merging the two companies.

"Tesla's shareholders have overwhelmingly approved our acquisition of SolarCity," said a statement from Tesla sent to CNBC. "Excluding the votes of Elon and other affiliated shareholders, more than 85% of shares voted were cast in favor of the acquisition. With SolarCity's shareholders also having approved the acquisition, the transaction will be completed in the coming days."