District Judge R V Tamhanekar held the accused, Deepak Bhambhare, guilty last Saturday and also imposed a fine of Rs 7,000 on him.
The prosecution told the court that the accused, who worked in a tile-making factory and resided at Rajnoli village in Bhiwandi town, got married to the victim, Manisha, in 2005 and the couple had two sons.
Unable to bear the harassment, the woman consumed a poisonous substance on December 21, 2013, and died later during treatment, the prosecution said.
Based on a complaint by the victim's mother, police filed a case against the accused under the Indian Penal Code Sections 306 (abetment of suicide) and 498A (husband or his relative subjecting woman to cruelty), and arrested him.
"So, the offence is of serious nature," the judge said while pronouncing the sentence.
(With inputs from agencies.)