I was looking for the function of the whole sentence, not only a part of it
Anyway, well done
As an answer for your question the tense is was+ past participle. Well for sure it's simple paste passive
Here is my sentence : I like swimming
Give me the tense for the verb swimming
Good luck