She replaced John P. Stevens, a resounding liberal.