(CNN) The police officer who was killed in a terror attack in Paris in April has been married to his partner posthumously, a source with knowledge of the ceremony told CNN.

The wedding of Etienne Cardiles and the late Xavier Jugelé was held in the town hall of the 14th arrondissement in Paris on Tuesday. Mayor Anne Hidalgo and former President Francois Hollande attended the ceremony, according to the source, who was not authorized to speak publicly.

Jugelé was shot dead by an ISIS-inspired attacker on the Champs-Élysées shortly before the French election. Cardiles delivered an emotional tribute to his partner at police headquarters following the attack.

"When the first messages were issued informing Parisians that a serious event was taking place on the Champs-Élysées, and that a policeman had lost his life, a little voice inside told me that it was you," Cardiles said.

Cardiles (L) shakes hands with then-candidate Emmanuel Macron at a ceremony for Jugelé in April.

Addressing Jugelé's killer during the eulogy, Cardiles said: "You will not have my hatred."

Read More