In Bucks County , outside Philadelphia , a freshman Republican , Representative Michael G. Fitzpatrick , was narrowly defeated by the Democratic challenger , Patrick Murphy , an Iraq war veteran and former prosecutor .