Eliot Spitzer , the New York attorney general who is running for governor , inserted himself into the contentious primary battle for Manhattan district attorney yesterday by endorsing Robert M. Morgenthau , who is seeking his ninth term in the job .