EntryCommonJLPT N3
  1. Conjunction

    but; however; (and) yet; nevertheless; still; for all that

    あなたに手紙を書くつもりだったのだが。
    I meant to have written to you.
Pitch on OJAD