A man from Beaver County was sentenced this week for selling cocaine in western Pennsylvania, including Lawrence County.