Attempted murderer now behind bars