A top Egyptian government official has killed himself in jail after being arrested in connection with a corruption investigation, reports say.

Wael Shalaby was a former secretary general of Egypt's administrative courts system. He resigned on Saturday, a day before his arrest.

The public prosecutor said his arrest was part of an inquiry into accusations of officials receiving bribes.

A gag order on all media over the corruption case has now been issued.

Mr Shalaby's resignation came after a procurement manager at Egypt's State Council, the umbrella organisation for the country's administrative courts, was arrested.

Gamal al-Din al-Labban was charged with receiving bribes worth millions of Egyptian pounds.

The public prosecutor has referred to the two arrests as part of the same case.

Alongside his role in the State Council, Mr Shalaby also served as a deputy chief justice in the administrative courts, according to the Reuters news agency.