Abeokuta is the largest city and capital of Ogun State in southwest Nigeria. It is situated on the east bank of the Ogun River, near a group of rocky outcrops in a wooded savanna; 48 miles north of Lagos by railway, or 81 miles by water. As of 2005, Abeokuta and the surrounding area had a population of 593,140.