Actually aperson, it is a little bit more complicated than that.
The Baha'i faith comes out of Shi'ite Islam and like the Shi'ites it accepts the premise that there are hidden Imams (God-inspired teachers / leaders.)
Around 1844 a man by the name of Ali Muhammad Shirazi declared himself the
Bab, which means 'Gate' and, by implication, carries the further meaning of the 'Gate to the Imam.' Shirazi had himself been a follower of Siyyid Kazim i Rashti who had been a followers of Shaykh Ahmad. (Ahmad, in the 1790s, began a religious movement within Shi'a Islam. His followers, who became known as Shaykhís, were expecting the imminent appearance of the Qá'im of the House of Muhammad, also called the Mahdi. )
Shirazi later declared himself to be the Qa'im. He spoke of the one who would follow him, (the Babi's say after a thousand years and the Baha'is say immediately after) whom he called "Him whom God shall make Manifest." Around about 1845 a young man named Mírzá Ḥusayn-`Alí became a disciple of the Bab and following the Bab's execution in 1850 and the imprisonment of Babi's for treason (following an attempt on the Shah's life) he received a revelation declaring him to be "Him whom God shall make Manifest."
Husayn-Ali took for himself the name
Baha'u'llah which means "The Glory of God."
I suggest you look here:
http://tinyurl.com/y3juo3 for more information.