Read the following sentence and select the correct rule for using the preposition por.

Caminamos por la playa.

"on behalf of," "for the sake of," "in place of"
for an "exchange"
"during" or "for" when referring to length of time
"along," "by," "through"