Which complex sentence is written correctly?
A. After we walked to town we bought an ice cream.
B. Jude won the game after asking his friend to play.
C. Ryan cannot walk to school, until he is older.
D. When we find the remote we can watch television.