Which of the following is an independent clause?

A. when I ate dinner
B. I ate dinner.
C. before I ate dinner
D. since I ate dinner