PARIS — Two French warships originally built for Russia, but not delivered because of the crisis in Ukraine, will be sold to Egypt instead, the French government announced Wednesday.

President François Hollande told reporters in Brussels, where he was attending a European Union summit meeting, that French negotiators had “unwound the contract we had with Russia on good terms, respectful of Russia and not suffering any penalty for France,” and that he and his Egyptian counterpart, Abdel Fattah el-Sisi, had “agreed on the price and conditions” of a sale to Egypt on Tuesday. He did not give details.

The two warships — Mistral-class amphibious assault ships that can carry troops and helicopters — were completed late last year and are docked at St.-Nazaire on France’s Atlantic coast. Russia ordered them in 2011 for about $1.3 billion, and had already paid about $1 billion of that by November 2014, when the French government halted the sale indefinitely. That money has been refunded.

A spokesman for the French government, Stéphane Le Foll, refused to elaborate on the price Egypt had agreed to pay. Mr. Hollande said only that France would “ensure the delivery of these ships without losing anything, while helping protect Egypt.”