A legal defense in which the defendant admits to the act but claims that it was justified.