Which sentence uses a semicolon correctly

John went to the store; he bought some bread.