NAIROBI, Kenya — The Kenyan authorities have arrested the chairman of the agency that manages public land and the boss of the state railway on suspicion of corruption over land allocation for the new $3 billion flagship Nairobi-Mombasa railway.

The line connecting Nairobi, the capital, with East Africa’s main port was financed by China and is one of the biggest infrastructure projects of President Uhuru Kenyatta, whose government began an anticorruption drive this year.

The public prosecutor, Noordin Mohamed Haji, ordered the arrests and said in a statement that he was preparing to charge the officials.

Kenya inaugurated the $3 billion railway last year. No Chinese companies or individuals were named in the prosecutor’s statement.