Original: However, he also completed his third and fourth operas Rienzi and The Flying Dutchman during this stay.
Simplified: He stayed there until 1849.