ではあるが (granted X but)
grammar1 sentence
The literary concessive frame ではあるが, 'while indeed being X, [yet] Y.' The は inserted before ある emphasizes the assertion ('is indeed'), the が pivots into the contrast. More elevated and writing-flavored than だが or けれど.
End of results — 1 loaded.