Complex sentence: The role of Juan Miranda was written for Eli Wallach, but Wallach had already committed to another project.
Split into simpler sentences: The role of Juan Miranda was written for Eli Wallach. But Wallach had already committed to another project.