Under the Bangladesh Penal Code, attempting murder is a serious violation. The severity of the punishment relies upon various circumstances, including the kind of the effort, the degree of planning, and whether some weapons were used. The Penal Code lays down guidelines for sentencing in situations of attempted murder. Magistrates are required to