The margin of victory falls below one half of one percent of the total vote - the threshold for triggering an automatic recount under the law.
Ernsberger said she decided not to waive her right to a recount so that Democratic voters would have a clear decision on who won.
"I believe the legislature put the recount mechanism in here so that everyone knows the results," said Ernsberger. "There can be mistakes in counting and this recognizes a race this close should be recounted."
County boards of elections must now begin the labor-intensive process of counting 621,132 ballots.
Boockvar said she is confident she will prevail and thinks spending hundreds of thousands of dollars to conduct a recount with margins of several thousand votes is a "burden" on election officials and taxpayers.
"If we were 50 votes apart I'd understand, but the patterns of the last decade show differently," she said. "No similar races has been changed as a result."
Aichele said the recount ensures government openness and accountability.
"There is nothing more important to our system of government than a transparent election process in which our citizens have confidence," she said in a statement.
The last statewide recount - in a November 2009 contest for Superior Court race - cost the state $542,000.
By law the results of the current recount must be presented to the Department of State by June 8.
Contact staff writer Amy Worden at 717-783-2584 or email@example.com.
Follow the Inquirer at www.Twitter.com/PhillyInquirer and www.Facebook.com/PhillyInquirer