This is the 44th most frequent Latvian word.
pirms
"Before."
Here, 'pirms' is used as a conjunction to relate the timing of two actions, indicating which one happened first.
Es biju mājās pirms tu piezvanīji.
I was at home before you called.
In this sentence, 'pirms' is used as a preposition to indicate a specific time event preceding another mentioned event.
Viņa atnāca pirms svētkiem.
She arrived before the holidays.
Here, 'pirms' is again a conjunction, used to relate actions, instructing one to perform the second action in sequence after the first clause.