The Measure Of A Man ( episode ) Picard must prove Data is legally a sentient being with rights and freedoms under Federation law when transfer orders demand Data ' s reassignment for study and disassembly . Summary . Teaser . The is visiting the newly - built Starbase 173 for a crew rotation . Meanwhile , four of the senior staff and Chief Miles O ' Brien sit down in Commander Riker ' s quarters for a game of poker . It is Lieutenant Commander Data ' s first official game , but he has studied up on the subject and explains it in detail as the cards are dealt . Doctor Pulaski announces a bet , which the rest of the staff calls . Data bets ten , as he holds the highest hand , whereas Pulaski and Lieutenant La Forge fold . The cards are dealt , and Riker ' s new card is the five of hearts , as we see three hearts , compared to Data ' s pair of queens , ace high . Data bets five cautiously , whereas O ' Brien calls , but Riker raises to five . Data calls , but O ' Brien folds . The cards are dealt a final time , but a four of hearts comes down , which causes a moan from the others – Riker may have a flush . Data bets ten , but Riker raises another ten . This causes Data to peek at his face - down card , which is a queen , indicating he has three of a kind . Data comments about Riker ' s facial expression being a " poker face " , but Riker asks if Data is " playing or not ? " . Data hesitates and then folds . Riker reveals his face - down card as the two of spades , which raises a resounding groan from the table . Confused , Data doesn ' t understand how Riker could have won - - as he had nothing toward a winning hand – but La Forge points out to Data Riker ' s valid play and that he did win , in bluffing Data . Captain Picard , having tea on the station , encounters Captain Phillipa Louvois , who he has not seen in ten years . Act One . Phillipa Louvois is a longtime friend who had previously prosecuted Picard with zeal during the court martial following the loss of the . While they reminisce , the pair is approached by Admiral Nakamura , accompanied by Commander Bruce Maddox , a Starfleet cyberneticist . On the admiral ' s request , Picard , with Maddox following , guides Nakamura on a tour of the " Enterprise " . They finish up on the bridge , where Maddox looks at Data with interest ; he in turn notices this and looks back . On Maddox ' s reminder , Nakamura tells Picard that the commander is there " to work on your android " and takes his leave . Maddox and Data greet each other with familiarity ; Data explains to Picard that Maddox was the sole member of a Starfleet special admissions panel to oppose Data ' s admission to Starfleet Academy , on the basis that Data was not a sentient lifeform , who briefly looks annoyed with the memory . Maddox tells Picard that the " work " entails dismantling Data . In an interview in the " Enterprise " s observation lounge with Picard , Riker , and Data , Maddox explains that he wants Data to help him understand better how Dr . Noonian Soong was able to overcome certain engineering challenges in designing Data ' s positronic brain . He mostly speaks to Picard and Riker , not really addressing Data . Data is intrigued , until he discovers that it is Maddox ' s intention to " dump " Data ' s memories from his positronic brain into the Starbase 173 main computer , then deactivate and disassemble Data in hopes of deriving enough technical knowledge to enable him to construct more Soong - type android s . He also asks if Maddox , having built a model positronic brain , has solved the most important first step : the electron resistance across the neural filaments . Maddox admits he hasn ' t , but plans to examine Data ' s working filament links ; Data points out that if he can ' t find the answers that way , Maddox ' s model will not work . In spite of this , Maddox claims the risks to Data are " negligible . " Data concludes that Maddox lacks sufficient technical knowledge to carry out the procedure safely , and declines to participate , with Picard ' s support . Maddox , prepared for this eventuality , produces orders from Starfleet Command separating Data from the " Enterprise " and transferring him to Starbase 173 , under Maddox ' s command . Maddox orders Data to report to him the following morning . Act Two . In his Ready Room , Picard , recognizing Starfleet ' s inherent interests in the creation of more Soong - type androids , Picard attempts to persuade Data into submitting to Maddox ' s procedure . Despite Picard ' s approach being the opposite of Maddox ' s – with the application of much more carrot than stick – Data counters that asking him to submit to an uncertain , dangerous , potentially destructive Starfleet experiment is tantamount to compulsorily requiring all Starfleet officers to have their biological eyes replaced with superior cybernetic implants such as the type utilized by Geordi La Forge . Data goes on to remind Picard that it is precisely because he is " not " Human - - and even considered among some to lack true sentience - - that Starfleet is emboldened enough to make their request in the first place . Realizing this to be the jarring truth of the matter , Picard dismisses Data and has the computer pull all relevant information of Starfleet regulations on officer transfers to a PADD for further research , intending to find a way to block Data ' s transfer . Swayed by the gravamen of Data ' s argument and having made little sense of Starfleet ' s official regulations , Picard seeks the counsel of the Judge Advocate General ' s office on Starbase 173 , headed by Captain Louvois . Louvois initially contends that while Data can refuse to participate in the experiment , the transfer itself cannot be stopped . Picard articulates his concern that once Maddox has Data in his clutches , as it were , anything could happen ; Louvois therefore suggests , alternatively , that Data could resign his Starfleet commission . Aboard the Enterprise , Maddox enters Data ' s quarters unannounced and without permission , continuing to bluntly drive home the point that he clearly does not accord Data the same respect he would otherwise a being whose sentience were not a matter of opinion . He finds Data packing his cabin after having resigned from Starfleet . Maddox , unaware that Data has resigned , passionately attempts to convince Data to reconsider the experiment by reassuring Data that his memories and knowledge will remain intact . Data , still genuinely concerned that Dr . Maddox has not yet demonstrated his ability to make good on that promise , argues that the substance and flavor of his experiences would be lost , reduced to mere facts . He offers the Teaser ' s earlier poker game as an example : he had absorbed all the available literature on the subject of Poker to prepare for the game , but when he actually played it , found it bore little resemblance to the rules as published . Continuing the inference , Data communicates his lack of confidence that Maddox has acquired the expertise needed to retain Data ' s " essence " of his stored experience . Maddox is irritated , and reminds Data that his cooperation may be desired but is not required ; he is now under his command . Data finally reveals to Maddox that while he regretted having to do so , he has resigned his Starfleet commission such that he cannot be compelled to participate in Maddox ' s experiment . Maddox is infuriated at this complication and does little to hide it , angrily insisting that one way or another Data will be reporting to him the next day . Act Three . Still smarting from Data ' s sudden resignation , Maddox has found a legal loophole he can use to get his experiment back on track . Meeting with Captains Louvois and Picard aboard Starbase 173 , Maddox angrily counters to the affirmative when Louvois ponders aloud whether Data is actually the " property " of Starfleet – rather than an individual , sentient being with rights and freedoms within the Federation – and that Data , a machine , is no more legally able to refuse his procedure and resign from Starfleet than the " Enterprise " s computer is able to refuse a refit . Ironically , this is in contrary to Maddox ' s wishes years ago : had he had his way , Data would not be in Starfleet – and would not , in Maddox ' s own opinion , be " Starfleet property . " Louvois tells Picard that there might be established law to support Maddox ' s position , who asks her to find the proof . After announcing his resignation , Data ' s shipmates throw an impromptu going - away party in Ten Forward . Among the gifts , Worf presents him with a copy of " The Dream of the Fire " , a classic Klingon novel by K ' Ratak . Across the room , Data sees Geordi La Forge sitting alone , and he approaches his friend . La Forge tells Data that he ' s upset about the android being forced out of Starfleet , and the two express that they will miss each other . After deliberating , Captain Louvois initially finds for Commander Maddox ' s position " " based on the Acts of Cumberland passed in the early 21st century . " " She states that Data can neither resign nor can he refuse to undergo Maddox ' s procedure . Picard requests a formal legal hearing to challenge the ruling ; however , because the brand - new Sector 23 Judge Advocate General ' s Office has not yet received their staff transfers to Starbase 173 , JAG staff consists only of Captain Louvois herself and " one terrified little ensign . " Despite this , Louvois agrees to convene a hearing on condition that " Enterprise " personnel serve as legal counsel during the proceedings : As his commanding officer , Captain Picard is burdened with the defense of Data and his rights and freedoms as a sentient being . A reluctant Commander Riker is pressed into representing Commander Maddox ' s position ; Riker initially refuses to participate in the hearing on the grounds that he vehemently disagrees with the premise of the case : Not only does Riker consider Data legally possessed of the same rights and freedoms of all sentient beings under Federation law , but also because Riker considers Data a comrade and friend , and on a personal level does not wish to be compelled into potentially placing a friend in harm ' s way . However , since Data ' s position is at peril of Louvois ' preliminary ruling , which would be finalized in Maddox ' s favor if Riker does not participate , Riker disappointingly concludes that he is offered no palatable choice in the matter . Louvois goes on to sternly warn Riker that she will tolerate no attempt to sandbag his performance - - if she at any point determines that Riker is not prosecuting the case as vigorously as she feels he is capable , she will rule summarily in favor of Maddox . Act Four . Picard calls Data to his ready room and informs him that he has been denied his resignation . Data remarks that gives him no choice but to submit , but his captain tells him about the hearing , which will clearly define the android ' s legal status once and for all and how he was asked to represent him . He asks if Data would be happier with another officer , but Data places his confidence in Picard ' s abilities . In the meantime , Riker does research for the hearing , and uses his authorization to look up Data ' s technical schematics . He is initially pleased to find what he was looking for . . . but then remembers why he was doing so in the first place . On Starbase 173 , Louvois begins the hearing , acting as judge . Riker calls Data to the stand and the computer recounts Data ' s service record – including Data ' s Starfleet decorations , which Picard insists be recited in its entirety as an example of Data ' s service . Riker begins his prosecution by seeking to demonstrate that Data is , in fact , a man - made , constructed being . Data is asked his maximum storage capacity ( " " eight hundred quadrillion bits " " ) and how quickly he can access information ( " " sixty trillion operations per second " " ) . Riker then compels Data to bend a rod of parsteel , despite Picard ' s objection based on the fact that many creatures in the Federation are possessed of mega - strength . Riker asks to be allowed to remove Data ' s left hand for examination ; Picard objects then withdraws it , realizing he has no way to rebut it . Softly apologizing to his friend , Riker removes it for Captain Louvois ' examination . Citing that Data is essentially hardware built by a man and programmed with software written by a man , Riker then moves behind Data and abruptly deactivates him , proclaiming " " Pinocchio is broken ; its strings have been cut . " " Even Louvois , who warned him to do his best , is a bit taken aback and as a remorseful Riker takes his seat , Picard requests a recess , which is granted . Act Five . Back on the " Enterprise " , Captain Picard recounts Riker ' s devastating prosecution to Guinan in Ten Forward , admitting that he himself was ready to believe that Data was only a machine after Riker ' s arguments . Guinan aptly observes that were Maddox to prevail in the proceedings and go on to become successful in replicating Data – despite the value this would represent to Starfleet – Maddox ' s success would almost certainly result in the creation of an entirely new race of " disposable creatures " : beings whose welfare and needs would not require consideration . Picard quickly concludes that victory for Maddox would have far more sinister repercussions throughout the Federation ; that behind the comfortable , easy euphemism of " property " , this fledgling race could potentially become a race of slave s . This grim realization strengthens Picard ' s resolve and inspires him to take a new approach in the defense phase of the hearing . In the courtroom , Picard begins Data ' s defense by quickly dismissing Riker ' s arguments that Data is a constructed being : Picard then calls Data to the witness stand and enters as evidence Data ' s personal belongings , a sample of the items he had packed in preparation of his resignation : a plaque of his Starfleet medals , a book that was given to him by his captain , and a holocube portrait of the late " Enterprise " crewmember Tasha Yar . Picard asks Data , what purpose do any of these articles serve him ? Of the Starfleet medals , he answers that they serve no purpose other than that he simply wanted them , wondering out loud to Picard if that demonstrates vanity . Of the book , Data says that it is a reminder of his friendship and service with the captain . Picard questions Data about the holocube of Tasha Yar , taking the time to set it out and activate it , stating for the record that he has " no other portraits of [ his ] fellow crewmates . " Data replies that he would prefer not to answer any questions related to Yar , as he had given his word to her to not speak of the matter . Picard gently reminds Data that considering the circumstances , he doesn ' t believe that Tasha would mind . Data reveals - - with what can only be interpreted as discomfort - - that Yar was " special " to him because they had been intimate with one another . Calling Commander Maddox forward as a hostile witness , Picard proceeds to expose for the court , and then to impeach , Maddox ' s assertions as to Data ' s sentience . In doing so , Picard maneuvers Maddox into conceding that Data fulfills most of the cyberneticist ' s own criteria for sentience – intelligence and self - awareness – and dramatically coerces the scientist into an admission that the remaining criterion , consciousness , is too nebulous a concept to precisely determine whether the android is in possession of it or not . Having cemented his argument for Data ' s sentience , Picard summarizes his final contention that to create more Soong - type android s would be the beginnings of a race , and a sentient race that is considered " property " is to sanction slavery – a profound violation of the basic principles and ideals upon which the United Federation of Planets is based : Ultimately , Captain Louvois rules in favor of Data : Data formally refuses to undergo Maddox ' s procedure after Louvois ' ruling is entered , and Maddox , in turn , states he will see that Data ' s transfer orders are rescinded . Surprisingly however , Data encourages Maddox to continue his work ; he claims to remains intrigued by some of what Maddox is proposing , and suggests he might agree to the procedure at some point in the future , once he is certain Maddox can perform it safely . Captain Louvois notes to Maddox that he no longer refers to Data as an " it " but as a " he " , inferring that he now ascribes to Data " personhood . " After the victory , Riker , deeply affected by the gravity of nearly costing a friend and colleague his life , prefers the solitude of the " Enterprise " s darkened observation lounge to Data ' s victory celebration on the holodeck . Data himself arrives to ask why Riker hasn ' t joined them , who sullenly explains his guilt over his role in the trial . Data reminds Riker in his immutable manner that had he not agreed to prosecute the position in favor of Maddox , they would not have been afforded the opportunity to defend the position that Data is sentient and legally entitled to the full panoply of rights and freedoms accorded sentient beings in the Federation , as Louvois would have ruled summarily in favor of Maddox ' s position . Data expresses his sincere gratitude at the ignominy Riker had endured , but that had , in its effect , saved him . Riker smiles , declaring his friend a wise man ; Data cautions that he does not believe he is yet , but with Riker ' s help , he is learning . Feeling better , Riker leaves with Data to join the celebration . Memorable quotes . " " It ' s been ten years , but seeing you again like this makes it seem like fifty . If we weren ' t around all these people , do you know what I would like to do ? " " " " Bust a chair across my teeth . " " " " After that . " " " " Oh , ain ' t love wonderful . " " " " It brings a sense of order and stability to my universe to know that you ' re still a pompous ass . . . and a damn sexy man . " " " " My God . . . " " " " You ' re a little vague on the specifics . " " " " When in disgrace with fortune and men ' s eyes / I all alone beweep my outcast state . ' Tell me : are these just " words " to you ? Or do you fathom the " meaning ? " " " Is it not customary to request permission before entering an individual ' s quarters ? " " " " I am the culmination of one man ' s dream . This is not ego or vanity , but when Doctor Soong created me , he added to the substance of the universe . If , by your experiments , I am destroyed , something unique – something wonderful – will be lost . I cannot permit that . I must protect his dream . " " " " You are imparting Human qualities to it because it " looks " Human – but I assure you : " it is not . " If it were a box on wheels I would " not " be facing this opposition . " " " " . . . and the unenviable task of prosecuting this case would fall on you , Commander , as the next most senior officer of the defendant ' s ship . " " " " I can ' t ! I . . . I won ' t ! Data ' s my comrade . We have served together . I not only respect him , I consider him my friend ! " " " " Consider that in the history of many worlds there have always been disposable creatures . They do the dirty work . They do the work that no one else wants to do , because it ' s too difficult or too hazardous . And an army of Datas , all disposable ? You don ' t have to think about their welfare ; you don ' t think about how they feel . Whole generations of disposable people . " " " " You ' re talking about slavery . " " " " I think that ' s a little harsh . " " " " I don ' t think that ' s a little harsh , I think that ' s the truth . But that ' s a truth that we have obscured behind a . . . comfortable , easy euphemism . Property . But that ' s not the issue at all , is it ? " " " " I would prefer not to answer , sir . I gave my word . " " " " Under the circumstances , I don ' t think Tasha would mind . " " " " She was special to me . We were . . . intimate . " " " " Now tell me , Commander , what is Data ? " " " " I don ' t understand . " " " " What is he ? " " " " A machine ! " " " " Is he ? Are you sure ? " " " " Yes ! " " " " You see he ' s met two of your three criteria for sentience , so what if he meets the third , consciousness , in even the smallest degree ? What is he then ? I don ' t know , do you ? " ( to Riker ) " Do you ? " ( to Phillipa ) " Do you ? " " " " Pinocchio is broken ; its strings have been cut . " " " " Your Honor , a courtroom is a crucible ; in it we burn away irrelevancies until we are left with a pure product : the truth , for all time . " " " " . . . Starfleet was founded to seek out new life – well , there it sits ! . . . waiting . " " " " You wanted a chance to make law . Well , here it is . . . make it a good one . " " " " I formally refuse to undergo your procedure . " " " " That act injured you and saved me . I will not forget it . " " " " You ' re a wise man , my friend . " " " " Not yet , sir . But with your help , I am learning . " " Background information . Extended edition . A significant amount of original footage was cut from the episode during editing , but was restored for the TNG Season 2 Blu - ray release . The " extended edition " features a fifty - seven - minute version of the episode , containing approximately thirteen minutes of restored scenes and visual effects , including : Links and references . References . 2355 ; Acts of Cumberland ; android ; Associate Chair of Robotics ; " As You Like It " ; choir ; court martial ; cybernetic s ; Daystrom Institute ; " " ; edition ; emergency manual control ; euphemism ; Federation ; five - card stud ; " ice man " ; Judge Advocate General ; K ' Ratak ; kilobar ; Legion of Honor ; Lore ; Medal of Honor ; megastrength ; metaphysics ; neural net ; paper ; parsteel ; pigeon ; Pinocchio ; poker ; poker face ; positronic brain ; ; resignation ; robotics ; Romulan ; Romulan Neutral Zone ; rule of law ; Sector 23 ; self - awareness ; sentience ; Shakespeare ' s sonnets ; slavery ; ; soul ; Starbase 173 ; Star Cross ; Starfleet Academy ; ; superstition ; tensile strength ; Ten Forward ; textbook ; treatise ; Transporter Room 3 ; vocabulary ; " Webster ' s 24th Century Dictionary " ; wrapping paper .