—used to introduce a statement that adds another and different thought to a preceding statement —sometimes used to introduce an explanation for something
but then
idiom(but then)
—used to introduce a statement that tells about something different or surprising that happened next