The correct answer to this question is “Sublimation”.
Sublimation is a type of behavioral defense mechanism in which what is socially intolerable actions are unconsciously converted into socially tolerable actions later on. Therefore this results in a long-term transformation of the original impulse.