Yes, it is. "Penned in the same year" must modify the subject, and it does, so it's fine. Sometimes, when people start a sentence with a participle modifier, it doesn't modify the subject but rather some other noun in the sentence. That's a common mistake. That doesn't happen in your sentence, though.