Mursi in prison
Former Egyptian President Mohamed Mursi sits behind bars with other Muslim Brotherhood members at a court in the outskirts of Cairo, Dec. 29, 2014. Reuters/Asmaa Waguih

(Reuters) - An Egyptian court put ousted Islamist president Mohamed Mursi on trial on Sunday on charges of endangering national security by leaking state secrets and sensitive documents to Qatar, furthering a state crackdown on his outlawed Muslim Brotherhood.

Mursi, who was toppled by the army in 2013 after mass protests against his rule, remained defiant, insisting he was Egypt's legitimate president despite facing several court cases.

"This court does not represent anything to me," said Mursi, who was on trial with 10 other people. The maximum penalty if convicted is death.

Relations between Qatar, a Gulf Arab state, and Egypt have been icy since July 2013, when Egypt's then-army chief Abdel Fattah al-Sisi overthrew Mursi and then launched a tough security crackdown against Islamists.

Qatar had supported Mursi, who is already in jail along with thousands of Brotherhood members, many of whom have been sentenced to death on separate charges.

The public prosecutor had said Mursi's aides were involved in leaking to Qatari intelligence, documents which exposed the location of and weapons held by the Egyptian armed forces and detailed the country's foreign and domestic policies.

Human rights groups accuse Sisi, who went on to become Egypt's elected president last year, of suppressing dissent, an allegation the government denies.

"We were abducted and tortured to pressure us to confess falsehoods," said defendant Amin al-Serafy, who was a secretary in the presidency under Mursi.

Islamist militants based in the Sinai Peninsula have killed hundreds of soldiers and policemen since Mursi was deposed.

Sisi says the Brotherhood still poses a serious threat to Egyptian security despite the crackdown, which has weakened what was once Egypt's most organized political organization.

(editing by Mark Heinrich)