Painting _________ here before it was sold to an art firm.
Painting _________ here before it was sold to an art firm.
Explanation
Painting was here before it was sold to an art firm.
In the sentence, "was" is used as the past tense of the verb "to be."
It indicates that the action (painting) existed in the past.
The phrase "was here" indicates that the painting existed in a particular location before it was sold to an art firm.