Complex sentence: Roddenberry and Barrett had begun an affair by the early days of "Star Trek", and he specifically wrote the part of Number One in the pilot with her in mind; no other actresses were considered for the role.
Split into simpler sentences: Roddenberry and Barrett had begun an affair by the early days of "Star Trek". He specifically wrote the part of Number One in the pilot for Barrett, and no other actresses were considered for the role.