The Oregon State Bar and Amanda Marshall, the former U.S. Attorney for Oregon, have reached a settlement, following false statements she made to investigators regarding her affair with a subordinate.

Under the stipulation that was approved by the Oregon Supreme Court on Thursday, Marshall’s law license will be suspended for 90 days. After that, her license will be reinstated, but Marshall will be on probation for two years.

If the Bar Association finds Marshall has followed the terms of probation, the matter will be dropped. But if the terms are violated, under the settlement, the Bar Association has the ability to suspend her license for several additional months.

“Marshall violated her duties to the public to maintain her personal integrity and maintain the public trust,” the settlement agreement states.

Marshall, who was appointed by President Obama, resigned in March 2015 amid rumors she had an inappropriate relationship with a subordinate. The U.S. Department of Justice’s Office of Inspector General found Marshall had engaged in an “intimate personal relationship with a subordinate, for more than one year” and had “violated laws and regulations against sexual harassment.”

Marshall initially denied to federal investigators that the romantic relationship with the subordinate involved sexual intercourse, the settlement document states. Marshall also told investigators the affair had ended approximately one year earlier than it had, the document states.

As part of her probation, Marshall agreed to meet with a mental health care professional and submit a written compliance report.

Marshall’s attorney’s didn’t immediately respond to a request for comment.