The best revision for this sentence is Mustafa ran the 100-meter and 200-meter races (but the one he had trained for the hardest was the 400-meter competition).
We have the use of parenthesis to present the additional information about the 400 meters race, we use parenthesis in the same way we can use commas or dashes to separate incidental or less important information.