Complex sentence: The earliest bar exam he could take was in Syracuse, but immediately before he was set to take the exam, he was involved in a near accident with the railroad's supervisor.
Split into simpler sentences: The earliest bar exam he could take was in Syracuse. It was right before taking it that he was involved in a near accident with the railroad's supervisor.