Examples:
He had been drinking all night long before he crushed the car.
They had been seeing each other for two years before they decided to get married.
Past Perfect Continuous is used to stress the period of time that an event happens at an earlier point in time