I wouldn't have played that poorly. CURSE YOU, THE STUPID AI!
Before gunpowder your civ was one of the most powerful and advanced ones, but then you started your decline after some time, this war just destroyed your civ. anyway, this shows how Free Religion sucks...you ended at war with your old allies, but the AI managed to destroy relations even more after it adopted Free Religion, so that just worsened.

I also was thinking of jumping in and destroying your sea acess as first priority using my Royal Navy (My fleet is probably one of the biggests at the moment, i'm really building a large fleet, i also was the first to get drydocks, so yea

by the time i had astronomy until rifles i had around 8 frigates, 1 ship of the line and about 10 galleons, now i have many more, i'm expected to field after some time around 18 steam transport (forgot name), and more than 20 steam combat ships (forgot the name again, but these are the most advanced ships in the world so far)
EDIT :
11 Paddlesteamers (transports, 4 cargo capacity) and 16 ironclad cruisers so far, but i'm increasing it quickly, i could also use Athens to make more ships if i want.
EDIT 2 :
i took some screenshots to see the current situation of your nation (btw, ignore when the scoreboard says : "German Republic" i'm actually a constitutional monarchy, that's what the representation civic should actually be in the Dynamic Civ Names)
http://imageshack.us/g/195/civ4beyondsword20110530a.jpg/
Here you can see the following :
-> Inhotep direct gains, he took Baghdad, Edirne and Warsaw
-> Red Spy gains, like i said before, Ankara
-> Tomorrow's Dawn gains, 3 cities in the Arabian peninsula, the other one was always ruled by Inhotep
-> The current situation of your country core remaining territories
-> the current situation of your remaining South African territories, that are for a long time fighting for their reunion with HJ
EDIT 3 :
Hum...
You're lucky your core area was well-developed and had a big population and culture (well, idk about Warsaw, but Baghdad and Edirne were, i wouldn't expect your old capital to be as great as it once was.
EDIT 4 :
wow, so many things, well, after Inhotep gave you 3 core cities, you managed to actually break free of him, you're independent again now, i wonder if the AI will be smart to seek protection (alliances) with his neighbours now. (however he is annoyed towards me, and probably worse towards Red Spy, about Inhotep i wouldn't be so sure because of some recent events, like he giving you back 3 cities!)