Maine's attorney general ruled a state trooper was justified in using deadly force when he shot and killed a man in Hiram last year.