Apart from the jail term, the additional sessions court in Ernakulam also slapped a fine of Rs 40,000 on Hashir. He was also found guilty of the usage of drugs. The court ruled that both sentences can run concurrently, meaning he would serve a jail term of two years.


In his plea, Hashir had claimed that he is the sole support to his aged parents and had a clean record prior to the incident.


Hashir is known for penning Dulquer Salmaan starrer 'Neelakasham Pachakadal Chuvanna Bhoomi' and the segment Aami in the anthology film '5 Sundarikal', featuring Fahadh Faasil.


The incident happened at an apartment in Maradu on February 28, 2014. According to reports, Hashir, intoxicated and naked, came out of his flat and misbehaved with a woman who lived in an adjacent flat. After hearing the woman's cries for help, residents came for her rescue and tied up Hashir in the parking lot, before handing him over to the police.


The police also recovered drugs from his apartment. During the interrogation, Hashir reportedly told the police that he was following 'God's message'. 


"He told us that he received a message from 'the Almighty' to commit seven deadly sins," a Times of India report had quoted the Maradu SI as saying.


Before he started penning scripts, Hashir was in the IT industry and has worked with companies such as Nokia in Finland and Deutsche Bank in Singapore.