Breakdown of El electricista dijo que el cable de la lámpara estaba viejo, pero que la despensa seguía en buen estado.
Questions & Answers about El electricista dijo que el cable de la lámpara estaba viejo, pero que la despensa seguía en buen estado.
This is very natural in Spanish. The second que connects the second reported idea back to dijo.
So the structure is:
El electricista dijo que X, pero que Y.
= The electrician said that X, but that Y.
Repeating que makes it clear that both parts are what he said. In English, we often drop the second that, but Spanish commonly keeps it.
Because both verbs describe states or conditions rather than completed actions.
- estaba viejo = was old
- seguía en buen estado = was still in good condition / remained in good condition
The imperfect is very common for background description and ongoing situations in the past. The sentence is reporting what the condition of the cable and the pantry was at that time.