سَافَرْتُ إِلَى بَعْلَبَكَّ.
Translation: I traveled to Baʿlabakk.
إِلَى: preposition.
بَعْلَبَكَّ: genitive noun marked by fatḥa in place of kasra because it is a diptote without the definite article or iḍāfa.
Its fatḥa here marks the genitive, not the accusative.