The $1 million estate of a Cape Elizabeth woman, who fled a failed uprising against the Soviet Union before coming to Maine from her native Hungary, is being split between organizations that help Maine soldiers and their families.

Anna Doby, who died a year ago, came to Maine in 1960 with her husband Dr. Tibor Doby. The couple had escaped from Hungary after a failed uprising against Soviet control in 1956.

“Having lived through oppression, the Dobys had a deep appreciation for the values and the freedoms we enjoy in this country, and for the close-knit community that defines Maine,” Gov. John Baldacci said in announcing a $300,000 gift to the Maine National Guard Foundation. Also sharing in the estate are the Maine chapter of Operation Homefront and the Maine Community Foundation.

“They recognized the great cost of protecting our freedoms. They knew the great sacrifices of our soldiers,” Baldacci said. “Their generous support of Maine troops will be a lasting legacy of Anna and Tibor Doby.”

Tibor Doby served as chief of radiology at Mercy Hospital in Portland. He died in 1998.

The couple supported the USO extensively while alive and in preparing her will, Anna Doby wanted to help Maine soldiers.

“She was just very clear. If she had money when she passed away, it was to go to Maine veterans and their families because this had become her adopted homeland,” said Robertt Danielson, an attorney who helped prepare the will.