Facing a possible 60 years in prison for firing a gun at her estranged husband and his two sons, Marissa Alexander agreed Monday to a plea deal that effectively ends the four-year old criminal case against her.

According to the terms of the plea, Alexander was ordered to serve three years in prison. The Florida Times-Union reports the Alexander will get credit for the 1,030 days she's already spent in jail.