In the following sentence, what part of speech is the word "spent": This meant time spent working was wasted.

It's a past participle, modifying "time."