The past eight years have been marked by disagreements over executive power, court battles and budget compromises.