Dabous was sentenced to 10 years in prison on the espionage charge and another 25 years for plotting to assassinate Egyptian President Hosni Mubarak .