Complex sentence: Lewton and MacDonald eventually wrote a small role for Lugosi; it became the last film Lugosi and Karloff made together.
Split into simpler sentences: Lewton and MacDonald eventually wrote a small role for Lugosi in the film. This was the last film Lugosi and Karloff made together.