This document discusses the application of sociolinguistics in legal settings. It covers how sociolinguistic analysis can be used in areas like dialectology, discourse analysis, and evaluating recorded conversations. Dialect analysis has helped determine whether a defendant's speech patterns match a recorded criminal. Discourse analysis examines language use and how people discuss topics. When acting as expert witnesses, sociolinguists must be careful to remain objective and distinguish between roles as experts and consultants for attorneys.