As night fell in Mahaban in Uttar Pradesh, Gopi Chand Yadav gathered blankets and a flashlight to spend the night sitting on a wooden platform in his field. His task: to use bamboo sticks to ward off stray cattle from intruding and eating a maturing mustard crop.
Like Mr Yadav, many thousands of farmers stay awake to guard their farms over a cold winter or face losing their crops to the cattle - a double whammy for growers already reeling from a plunge in crop prices.
While stray cows ambling around towns and villages have always been a feature of life in villages, farmers say their number has increased sharply in recent years to the extent that they have become a menace, and blame the policies of Prime Minister Narendra Modi's government.
Protecting cows was one of the measures meant to shore up support for the ruling Bharatiya Janata Party (BJP). Instead, it is creating a backlash, even among farmers.
"We already had enough problems and now the government has created one more," said octogenarian farmer Baburao Saini from Kakripur village, 85 kilometres from Delhi. "For the first time, we've been forced to stay in the fields to protect our crops."
The cattle issue and low farm prices are major reasons behind their disillusionment with a party that most say they voted for in the last election in 2014.
PM Modi swept Uttar Pradesh at that poll, winning 73 of 80 seats in India's most populous state, with rural voters swayed by a promise of higher crop prices.
PM Modi is trying hard to claw back support among India's 263 million farmers and their many millions of dependents after the BJP lost power in December to the opposition Congress in three big northern states where agriculture is a mainstay.
Most states in India have long outlawed cow slaughter, but after coming to power in 2014 the BJP ratcheted up its distaste for trade in cattle, launching a crackdown on unlicensed abattoirs in Uttar Pradesh and on cattle smuggling nationwide.
At the same time, a wave of attacks on trucks carrying cattle by vigilante groups has scared away traders, most of whom are Muslims, bringing to a halt the trade even in bullocks. Rising sales of tractors and increasing mechanisation mean that more animals are redundant for use in farming.
The farmers Reuters spoke to said they revered cows, but a sudden halt in the trade of cattle had hit the rural economy. In their view, the government should come up with more cow shelters and let cattle traders deal in other animals without fear of attack.
"The government has only enforced the laws by closing down unlicensed abattoirs and cracking down on cattle smuggling," said BJP spokesman Gopal Krishna Agarwal, who added that he runs a cow shelter of 1,300 cattle. "We're not trying to hurt either any community or the rural economy."
Fodder prices have gone up by more than a third in the past year and most farmers cannot afford to keep cows after they stop producing milk, said farmer Rajesh Pahalwan as he smoked a hookah pipe in the village of Manoharpur. Six farmers sitting with him mainly nodded in agreement.
In India, the world's biggest milk producer, about three million cattle become unproductive every year. In the past, farmers would sell unproductive cows to Muslim traders and about two million of these would end up smuggled to Bangladesh for meat and leather. But that trade has now been throttled by the government crackdown, trade and industry officials say.
That has led to many unproductive cattle being abandoned, farmers said, but governments - both state and federal - have failed to construct new shelters, leaving rising numbers of stray cattle that are feeding on crops, or even garbage.
"The government clearly did not think of alternatives before putting these curbs in place," said farmer Deepak Chaudhary, who grows wheat on the outskirts of Mathura. "As Hindus, we treat cows as sacred but these unwarranted measures have upended the economics of farming."
The government did provide some relief in its interim budget last week as it announced a cow welfare programme costing Rs 7.50 billion in the year beginning April.
But there are hardly any "adequate measures to rehabilitate" cattle, said Fauzan Alvi, vice-president of the All India Meat and Livestock Exporters Association.
"Forget about cows, we cannot sell even a single animal to even our relatives thanks to cow vigilante groups..." said the wheat farmer Chaudhary.
PM Modi has in the past condemned violence by cow vigilantes, but critics and opposition politicians say some of the right-wing groups involved have links to his party, a charge the BJP denies.
Nearly 85 per cent of India's farmers own less than 2 hectares (5 acres) of land, so even a relatively small area damaged has a big impact on their livelihood.
Only two weeks ago, some cattle ravaged an acre of wheat grown by farmer Chandra Pal in the Mathura district of Uttar Pradesh.
"My investment went down the drain after some stray cattle trampled and ate up the crop," he said.
Many farmers in Uttar Pradesh are now using barbed wire to stop animals from entering their farms, but that is expensive.
"We have been at the receiving end of anti-farmer policies of the government and the problem of stray cattle is just another blow to us," said farmer Amar Chand, from Maholi village who voted for BJP in 2014.