Framing was the act of making it appear as though somebody other than the culprit had committed a crime, often murder. Motives for framing someone included revenge and deflection of guilt from the actual party.
One could also be framed for a crime which had not in fact occurred. In 2267, Ben Finney framed James T. Kirk for his "death" to get revenge on Kirk, whom he believed to be responsible for his career shortfalls. (TOS: "Court Martial")