Complex sentence: The dog ran that 23 mile leg of the race with him and at the end of the day, joined Leonard in his tent.
Split into simpler sentences: The dog ran a 23 mile leg of the race with him. At the end of the day, the dog joined Leonard in his tent.