As per the passage which languages did Ram Mohan Roy know?

Ram Mohan Roy was born in Radhanagar, Hooghly District, Bengal Presidency. His great grandfather Krishnakanta Bandyopadhyay was a Rarhi Kulin (noble) Brahmin. Among Kulin Brahmins – descendants of the six families of Brahmins imported from Kannauj by Ballal Sen in the 12th century – those from the Rarhi district of West Bengal were notorious in the 19th century for living off dowries by marrying several women. Kulinism was a synonym for polygamy and the dowry system, both of which Rammohan campaigned against.[6] His father, Ramkanta, was a Vaishnavite, while his mother, Tarini Devi, was from a Shaivite family. He was a great scholar of Sanskrit, Persian and English languages and also knew Arabic, Latin and Greek. One parent prepared him for the occupation of a scholar, the Shastri, while the other secured for him all the worldly advantages needed to launch a career in the laukik or worldly sphere of public administration.[citation needed] Torn between these two parental ideals from early childhood, Ram Mohan vacillated between the two for the rest of his life.[7]During his childhood Ram Mohan Roy witnessed death of his sister in law through sati. The seventeen year old girl was dragged towards the pyre where Ram Mohan Roy witnessed her terrified state. He tried to protest but to no avail. She was burned alive. The people chanted "Maha Sati! Maha Sati! Maha Sati!" (great wife) over her painful screams. [8]

Sanskrit, Persian, English, Arabic, Latin and Greek.