The affair is said to have lasted three years.