Cal. Gov't Code § 516
From the county seat of Kern County to Sacramento it is two hundred and seventy-eight (278) miles.