General counsel is the highest-ranking lawyer within a corporation.
The top in-house attorney often wears this title.