ところが
ところが · tokoroga · JLPT N3 · conjunction
however
ところ (place, point) + が (but) = at that point, but… a plot twist
ところ means place or point, and が means but. Together they say: things stood at that point, but then the opposite happened. Use it at the start of a sentence when the result goes against what was expected.