This is a pun. Being a sprinter means running in races or just for exercise.  Running for office means to be campaigning for a political position.
At first he was was a sprinter , but then he decided to run for office .