A 48-year-old Uttar Pradesh man was given the life sentence by a court in Bulandshahr on Wednesday based on the testimon