Ali Wanis, an Egyptian radical Islamist politician, has been convicted in absentia of violating public decency after police found him fondling a woman in a car.
Ali Wanis was sentenced to a year in prison for the incident and six months for abusing the policemen. The woman involved got a six month jail term.
Both can avoid prison by posting bail.
Ali Wanis became an MP for the Salafist Nour party earlier this year, but parliament was dissolved in June after a court said the election was invalid.
Police officers told the Misdemeanour Court in Tukh, outside Cairo, that they had found Ali Wanis caressing a fully-veiled woman student who was sitting on his lap in his car while it was parked on an agricultural road near the town last month.
When they knocked on his window asking to see his driving license and car registration, the Islamist called them “sons of dogs”, they added.
Ali Wanis denied violating public decency, claiming that he had pulled the car over to assist his ill niece. But the police said he was not her uncle.
On Saturday, the court found Ali Wanis guilty of committing an obscene act on a main road and contempt of police, and sentenced him to jail.
The Islamist, whose whereabouts are unknown, was tried in absentia and is allowed a retrial. The woman, who has been in custody for about a month, has the right to appeal.
Ali Wanis can avoid jail by paying 1,000 Egyptian pounds ($165) in bail, while the woman can also do so by paying 500 Egyptian pounds ($82).
Earlier this year, the Nour party was forced to apologize after another of its MPs resigned after apparently lying over whether he had plastic surgery. He said his bandaged face was the result of a car-jacking.