The sentence refers to a past event that happened at a specific time ('at the beginning of the century'). The passive voice 'was painted' is appropriate here.
Answer: was painted