IN: Devika Rani Chaudhuri, usually known as Devika Rani (30 March 1908 - 9 March 1994), was an actress in Indian films who was active during the 1930s and 1940s. Widely acknowledged as the first lady of Indian cinema, Devika Rani had a successful film career that spanned 10 years. Born into a wealthy, anglicized Indian family, Devika Rani was sent to boarding school in England at age nine and grew up in that country. In 1928, she met Himanshu Rai, an Indian film-producer, and married him the following year.

Najm-ul-Hassan was also Devika's co-star in the studio's next venture, Jeevan Naiya. The two co-stars developed a romantic relationship, and during the shooting schedule of Jeevan Naiya, Devika eloped with Hassan. Himanshu was both enraged and distraught. Since the leading pair were absent, production was stalled. A significant portion of the movie had been shot and a large sum of money, which had been taken as credit from financers, had been spent. The studio therefore suffered severe financial losses and a loss of credit among bankers in the city while the runaway couple made merry. Sashadhar Mukherjee, an assistant sound-engineer at the studio, had a brotherly bond with Devika Rani because both of them were Bengalis and spoke that language with each other. He established contact with the runaway couple and managed to convince Devika Rani to return to her husband. In the India of that era, divorce was legally almost impossible and women who eloped were regarded as no better than prostitutes and were shunned by their own families. In her heart of hearts, Devika Rani knew that she could not secure a divorce or marry Hassan under any circumstances. She negotiated with her husband through the auspices of Sashadhar Mukherjee, seeking the separation of her finances from those of her husband as a condition for her return. Henceforth, she would be paid separately for working in his films, but he would be required to single-handedly pay the household expenses for the home in which both of them would live. Himanshu agreed to this, in order to save face in society and to prevent his studio from going bankrupt. Devika Rani returned to her marital home. However, things would never be the same between husband and wife again, and it is said that thenceforth, their relationship was largely confined to work and little or no intimacy transpired between them after this episode. Despite the additional expense involved in re-shooting many portions of the film, Himanshu Rai replaced Najm-ul-Hassan with Ashok Kumar, who was the brother of Sashadhar Mukherjee's wife, as the hero of Jeevan Naiya. This marked the debut, improbable as it may seem, of Ashok Kumar's five-decade-long career in Hindi films. Najm-ul-Hassan was dismissed from his job at Bombay Talkies (this was the period in which actors and actresses were paid regular monthly salaries by one specific film studio and could not work in any other studio). His reputation as a dangerous cad established, he could not find work in any other studio. His career was ruined and he sank into obscurity.

When did this occur?

OUT:

input: Following the attack on Pearl Harbor, Sarria became determined to join the military, despite being, at just under five feet tall, too short to meet the Army's height requirement. He seduced a major who was attached to the San Francisco recruiting station on the condition that the major approve Sarria's enlistment. Jose Sarria was approved and entered the Army Reserve, continuing his studies as he waited to be called up to active duty. Shortly before he was scheduled for induction in the regular Army, his beloved second father, Charles Millen, died of a heart attack. Sarria's induction was delayed a month, then he was sworn in and ordered to Sacramento, California, for basic training with the Signal Corps. Because of his fluency in several languages, Sarria was assigned to Intelligence School. However, following a routine background check for security clearance, he was advised that he would no longer be in the program. Sarria assumed that it was because investigators discovered his homosexuality. "I mean I had no lisp, but I wasn't the most masculine guy in town ... So I think that they figured that I was a little bit gay." Sarria officially remained attached to the Signal Corps but was ordered to Cooks and Bakers School and trained as a cook. After graduating from cooking school, he was assigned to train as a scout, but deliberately failed the training because of the dangerous nature of the assignment. He was then assigned to the motor pool. Through his work at the motor pool, Sarria met a young officer named Major Mataxis. He became the major's orderly, eventually running an officers' mess in occupied Germany where he cooked for Mataxis and about ten other officers. He was discharged from the Army in 1947, at the rank of Staff Sergeant. Upon Sarria's return from overseas, Kolish began to worry about their future. The United States had no legal recognition for same-sex relationships and Kolish looked for a way to provide for Sarria after Kolish's death. He proposed marriage to Sarria's mother Maria. Maria was willing, but Jose refused to allow it. Given no other choice, Kolish contacted his only remaining adult relative, a brother who lived in Hollywood, and left instructions for the care of Sarria and his family. On Christmas Day 1947, Kolish and his son were struck by a drunk driver while driving to spend the holiday with Sarria and his family. Both were killed. The coroner determined that Jonathan died first, meaning that Paul's brother inherited everything. The brother ignored Paul's wishes regarding Sarria. "I would have gotten one of the houses", Sarria claimed, "but he only gave me a little money and one ring. He claimed that was all Paul wanted me to have. He was so evil. He said afterwards, 'If you expect anything else, you're not going to get it.' "

Answer this question "When did he leave the army?"
output:
He was discharged from the Army in 1947, at the rank of Staff Sergeant.