How should this sentence be rewritten to make it more clear?

After running through the mud, it was time to give the dog a bath.