らちがあく

埒があく

N3Expression
Expression, Godan verb (ku ending)
to come to a settlement