Man gets life term for murder